aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
...
| | * | Rename and reword off-topic tagsGravatar mina2021-12-17-10/+3
| |/ / | | | | | | | | | Rename `off-topic` tag to `ot` and shorten description to only include mention of the less-occupied #ot2 off-topic channel.
| * | Merge pull request #1989 from python-discord/clean_improvementsGravatar ChrisJL2021-12-16-105/+102
| |\ \ | | | | | | | | Clean improvements
| | * \ Merge branch 'main' into clean_improvementsGravatar ChrisJL2021-12-16-544/+631
| | |\ \ | | |/ / | |/| |
| * | | Rename channels.discord_py to discord_bots (#1982)Gravatar Ben Soyka2021-12-15-4/+4
| | | | | | | | | | | | | | | | Co-authored-by: ToxicKidz <[email protected]> Co-authored-by: Xithrius <[email protected]>
| * | | Merge pull request #2011 from python-discord/dependabot/pip/lxml-4.6.5Gravatar Hassan Abouelela2021-12-14-51/+64
| |\ \ \ | | | | | | | | | | Bump lxml from 4.6.3 to 4.6.5
| | * | | Bump lxml from 4.6.3 to 4.6.5Gravatar dependabot[bot]2021-12-13-51/+64
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5. - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
| * | | Merge pull request #2005 from Akarys42/patch-1Gravatar ChrisJL2021-12-10-13/+7
| |\ \ \ | | | | | | | | | | Remove myself from the code ownership
| | * | | Remove myself from the code ownershipGravatar Matteo Bertucci2021-12-10-13/+7
| |/ / /
| * | | Merge pull request #1999 from PH-KDX/patch-2Gravatar ChrisJL2021-12-09-2/+0
| |\ \ \ | | | | | | | | | | Remove deprecated server voice region
| | * | | Remove deprecated server voice regionGravatar PH-KDX2021-12-09-2/+0
| |/ / / | | | | | | | | Discord's current model for voice regions is setting it per server. Hence, the "Voice region" section in the server info tag will always display as "deprecated". This pull request removes it.
| | * | Skip private channels when deleting from allGravatar mbaruh2021-12-06-5/+10
| | | | | | | | | | | | | | | | When specifying all channels, the command now skips private channels to optimize for speed.
| | * | Properly check the channel when deleting from cacheGravatar mbaruh2021-12-05-14/+30
| | | | | | | | | | | | | | | | Previously the cache was only used to delete from all channels. I didn't add a channels check when I changed it.
| | * | Remove now redundant input check.Gravatar mbaruh2021-12-03-4/+0
| | | |
| | * | Update _build_predicate to require a limitGravatar mbaruh2021-12-02-10/+8
| | | |
| | * | Simplify cache usageGravatar mbaruh2021-12-02-39/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes the cache usage argument from the clean commands. Cache usage is now an implementation detail. The cache will be used if the age of the oldest message requested for cleaning is younger than the oldest message in the cache. Additionally fixes the logger to the one used in the rest of the bot (caused by a faulty merge).
| | * | Remove cleaning based on number of messagesGravatar mbaruh2021-12-02-49/+44
| | | | | | | | | | | | | | | | | | | | | | | | All clean commands now use the clean limit (message, time delta, ISO datetime) instead of `traverse`. Consequently, `clean all` has been removed as `clean until` now effectively fulfills that role.
| | | * Remove debug `maxDiff` assignment.Gravatar Izan2021-11-25-1/+0
| | | |
| | | * Fix testsGravatar Izan2021-11-16-8/+19
| | | |
| | | * Display whether DM was sent to user when listing infraction(s).Gravatar Izan2021-11-16-4/+27
| | | |
* | | | Add typehint for DayDuration convertorGravatar Shivansh-0072021-12-24-0/+1
| | | |
* | | | Upgrade mod left server log to warningGravatar Shivansh-0072021-12-24-3/+1
| | | |
* | | | Apply grammar changesGravatar Shivansh-0072021-12-24-10/+8
| | | | | | | | | | | | | | | | Co-authored-by: TizzySaurus <[email protected]>
* | | | Add test cases for convertorGravatar Shivansh-0072021-12-13-5/+64
| | | |
* | | | Make max modpings off check more explicitGravatar Shivansh-0072021-12-13-2/+4
| | | |
* | | | Fix typosGravatar Shivansh-0072021-12-11-5/+5
| | | | | | | | | | | | | | | | Co-authored-by: Johannes Christ <[email protected]>
* | | | Get member object to properly add modpings roleGravatar Shivansh-0072021-12-10-1/+9
| | | |
* | | | Don't add modpings role back (after manual off) if schedule overGravatar Shivansh-0072021-12-10-0/+9
| | | |
* | | | Make the help message more verboseGravatar Shivansh-0072021-12-10-1/+18
| | | |
* | | | Make 16hours the max off time and not onGravatar Shivansh-0072021-12-09-6/+4
| | | | | | | | | | | | | | | | Reference: https://discord.com/channels/267624335836053506/635950537262759947/918455823921995826
* | | | Add day duration convertorGravatar Shivansh-0072021-12-09-4/+52
|/ / / | | | | | | | | | This convertor is used to convert hours/minutes in 12/24 hour format to a datetime object using today's datetime as the base.
* | | Merge pull request #1997 from python-discord/reduce-fuzzy-match-lenGravatar Matteo Bertucci2021-12-08-2/+2
|\ \ \ | | | | | | | | Reduce threshold before fuzzy matching to 2
| * | | 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