aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| * | | | | | Reduce threshold before fuzzy matching to 2Gravatar Chris Lovering2021-12-08-2/+2
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commands such as !ot, !if, !xy are commonly used as shortcuts to their respective tags. We recently upped the threshold before fuzzy matching to 3 characters, which broke these shortcuts. This commit reduces that threshold down to 2, so users who are used to those commands can still use them.
* | | | | | Merge pull request #1539 from Numerlor/site-tagsGravatar ChrisJL2021-12-08-146/+60
|\ \ \ \ \ \ | | | | | | | | | | | | | | Move static content site commands to tags
| * | | | | | Use hardcoded rules url instead of constructing it from constsGravatar Numerlor2021-12-08-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Discord does validation on the embed url which may fail for valid local urls
| * | | | | | Move static content site commands to tags and remove the site cogGravatar Numerlor2021-12-08-94/+24
| | | | | | |
| * | | | | | Remove the site help commandGravatar Numerlor2021-12-08-16/+0
| | | | | | |
| * | | | | | Move the rules command to the Information cogGravatar Numerlor2021-12-08-37/+38
|/ / / / / /
* | | | | | Merge pull request #1663 from Numerlor/tag-groupsGravatar Johannes Christ2021-12-08-291/+305
|\ \ \ \ \ \ | | | | | | | | | | | | | | Add tag groups and in file metadata
| * \ \ \ \ \ Merge branch 'main' into tag-groupsGravatar Johannes Christ2021-12-08-946/+2521
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #1634 from Shivansh-007/modpings-scheduleGravatar Johannes Christ2021-12-08-2/+117
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Modpings schedule
| * \ \ \ \ \ \ Merge branch 'main' into modpings-scheduleGravatar Johannes Christ2021-12-08-785/+2019
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Merge pull request #1994 from onerandomusername/fix-pep-whitespaceGravatar Johannes Christ2021-12-08-1/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | fix: parse whitespace out of pep titles
| * \ \ \ \ \ \ \ Merge branch 'main' into fix-pep-whitespaceGravatar Johannes Christ2021-12-08-12/+23
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Merge pull request #1996 from python-discord/snekbox-api-url-env-varGravatar Matteo Bertucci2021-12-07-1/+1
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Make snekbox url an env var
| * | | | | | | | | 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
| | |\ \ \ \ \ \ \ \