aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | Make snekbox url an env varGravatar Chris Lovering2021-12-07-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | An issue with snekbox in our cluster has meant that we want to send requests to an external service temporarily while we get this fixed. Making this an env var means we can change this whenever needed in future without leaking the external service's url.
* | | | | | Merge pull request #1892 from python-discord/Update-Username-ChecksGravatar ChrisJL2021-12-06-11/+22
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update username checks
| * | | | | | Build an intermediate list for speed in filtering cogGravatar Chris Lovering2021-12-06-1/+1
| | | | | | |
| * | | | | | Also run name filters against a cleaned version of the normalised nameGravatar Chris Lovering2021-12-06-4/+5
| | | | | | |
| * | | | | | Return early when getting name matchesGravatar Chris Lovering2021-12-06-9/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Ss soon as we get a match for a bad name, return it, rather than running it against the rest of the filters.
| * | | | | | Check if we recently alerted about a bad name before running all filter ↵Gravatar Chris Lovering2021-12-06-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | tokens again
| * | | | | | Normalise names before checking for matchesGravatar Chris Lovering2021-12-06-3/+11
|/ / / / / /
| * / / / / fix: parse whitespace out of pep titlesGravatar onerandomusername2021-12-05-1/+4
|/ / / / /
* | | | | Merge pull request #1990 from python-discord/fix-message-convertorGravatar Johannes Christ2021-12-05-0/+29
|\ \ \ \ \ | | | | | | | | | | | | Patch d.py's message convertor to infer channelID from the given context
| * \ \ \ \ Merge branch 'main' into fix-message-convertorGravatar Johannes Christ2021-12-05-22/+18
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #1993 from python-discord/fetch-thread-if-not-in-cacheGravatar Johannes Christ2021-12-05-2/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | Attempt to fetch un-cached nomination threads on archive
| * | | | | | Attepmt to fetch un-cached nomination threads on archiveGravatar Chris Lovering2021-12-03-2/+5
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes BOT-1R0 Fixes #1992 The time between a vote passing and the helper being helpered can sometimes be >7 days, meaning the thread may have auto-archived by then. We should deal with this by trying to fetch the threead from the API if it's not cached.
* | | | | | Merge pull request #1991 from python-discord/pep-mainGravatar Johannes Christ2021-12-03-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update PEP Repo URL
| * \ \ \ \ \ Merge branch 'main' into pep-mainGravatar TizzySaurus2021-12-03-7/+1
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1987 from onerandomusername/remove-unneeded-constantGravatar Johannes Christ2021-12-03-7/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | remove default thread archive time
| * \ \ \ \ \ \ Merge branch 'main' into remove-unneeded-constantGravatar Johannes Christ2021-12-03-12/+11
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
| * | | | | | | remove default thread archive time as discord.py supports that alreadyGravatar onerandomusername2021-12-02-7/+1
| | | | | | | |
| | * | | | | | Update PEP Repo URLGravatar Hassan Abouelela2021-12-03-1/+1
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | The PEP github repo changed branch from master, to main, breaking our code. Switch the ref from master to main in our code.
* | | | | | | Merge pull request #1985 from python-discord/subscribe-redirectGravatar Johannes Christ2021-12-03-11/+10
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Redirect subscribe command output to bot commands
| * \ \ \ \ \ \ Merge branch 'main' into subscribe-redirectGravatar Johannes Christ2021-12-03-52/+142
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1986 from onerandomusername/patch-3Gravatar Johannes Christ2021-12-03-1/+1
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | set three_day to 4320, the number of minutes in 3 days
| * | | | | | | set three_day to 4320, the number of minutes in 3 daysGravatar aru2021-12-02-1/+1
|/ / / / / / /
| * | | | | | Redirect subscribe command output to bot commandsGravatar Chris Lovering2021-12-01-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of silently failing in channels other than bot commands for non-staff, the bot now instead redirects the command output to bot commands and pings the user. To facilitate this, I had to change the ctx.reply to a ctx.send since the invocation message may be in a different channel.
| * | | | | | Sort subscribe roles alphabeticallyGravatar Chris Lovering2021-12-01-1/+3
| | | | | | |
| | * | | | | Patch d.py's message convertor to infer channelID from the given contextGravatar Chris Lovering2021-12-03-0/+29
| |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discord.py's Message convertor is supposed to infer channelID based on ctx.channel if only a messageID is given. A 'refactor' (linked below) a few weeks before d.py's archival broke this, so that if only a messageID is given to the convertor, it will only find that message if it's in the bot's cache. Co-authored-by: Hassan Abouelela <[email protected]>
| | * | | | Correct typo in loglineGravatar Johannes Christ2021-12-08-1/+1
| | | | | |
| | * | | | Make 'parse' imported function name explicitGravatar Shivansh-0072021-11-01-2/+2
| | | | | |
| | * | | | Use discord timestamps for showing worktimeGravatar Shivansh-0072021-10-19-4/+5
| | | | | |
| | * | | | Merge remote-tracking branch 'upstream/main' into modpings-scheduleGravatar Shivansh-0072021-10-19-2584/+5369
| | |\ \ \ \
| | * | | | | Fix bugs when scheduling from cacheGravatar Shivansh-0072021-07-12-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Dict was missing .items() method, causing TypeError. 2. Timestamp wasn't converted to float before passing to dt.fromtimestamp(), was stored as a joined string with work_time.
| | * | | | | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-13-2/+1
| | | | | | |
| | * | | | | (modpings): Add a day to datetime if already passedGravatar Shivansh-0072021-06-13-1/+9
| | | | | | |
| | * | | | | (modpings): Add subcommand to delete your modpings scheduleGravatar Shivansh-0072021-06-13-1/+13
| | | | | | |
| | * | | | | (modpings): 16 hours is the maximum schedule limitGravatar Shivansh-0072021-06-13-7/+7
| | | | | | |
| | * | | | | (modpings): Use scheduling.create_task wrapperGravatar Shivansh-0072021-06-13-9/+9
| | | | | | |
| | * | | | | (modpings): Use 24 hour formatGravatar Shivansh-0072021-06-13-1/+1
| | | | | | |
| | * | | | | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-13-20/+121
| | |\ \ \ \ \
| | * | | | | | (modpings): Cancel scheduler and tasks on cog unloadGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | |
| | * | | | | | Merge branch 'main' into modpings-scheduleGravatar Shivansh-0072021-06-11-3/+3
| | |\ \ \ \ \ \
| | * | | | | | | (modpings): Make flake8 happy!Gravatar Shivansh-0072021-06-11-3/+8
| | | | | | | | |
| | * | | | | | | (modpings): Use separate scheduler for modpings scheduleGravatar Shivansh-0072021-06-11-7/+8
| | | | | | | | |
| | * | | | | | | (modpings): Cancel the task before scheduling it againGravatar Shivansh-0072021-06-11-0/+3
| | | | | | | | |
| | * | | | | | | Add modpings schedule featureGravatar Shivansh-0072021-06-10-1/+81
| | | | | | | | |
| | | | | | * | | Merge remote-tracking branch 'upstream/main' into tag-groupsGravatar Numerlor2021-11-09-850/+1274
| | | | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # bot/converters.py # bot/exts/info/tags.py # tests/bot/test_converters.py
| | | | | | * | | | Remove try_get_tag ctx args testGravatar Numerlor2021-09-22-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The arguments are now parsed by the command itself so the test would only check if the mocked message was passed in. The only case where the errors would fail would be a change to the passed args, so it'd only restrict development as the tests would need to be changed anyway
| | | | | | * | | | Use new command interface that accepts direct contentGravatar Numerlor2021-09-22-10/+1
| | | | | | | | | |
| | | | | | * | | | Handle argument parsing through identifier from_string instead of d.pyGravatar Numerlor2021-09-22-24/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us skip on the logic of figuring out whether we received a tag name alone, or both a name and a group
| | | | | | * | | | Reword all tags embed titleGravatar Numerlor2021-09-13-1/+1
| | | | | | | | | |
| | | | | | * | | | Rename methods to better reflect their new behaviourGravatar Numerlor2021-09-13-4/+4
| | | | | | | | | |
| | | | | | * | | | remove redundant returns on both branchesGravatar Numerlor2021-09-13-2/+1
| | | | | | | | | |