aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-07-14Add command to list nominees by oldest firstGravatar kosayoda-0/+11
2020-07-14Accept argument to order nominees by oldest firstGravatar kosayoda-2/+6
2020-07-14Pass argument as kwarg to preserve functionalityGravatar kosayoda-1/+1
2020-07-14Allow ordering watched users by oldest firstGravatar kosayoda-1/+7
2020-07-13Whitelisting some popular communitiesGravatar Leon Sandøy-0/+10
The following communities are whitelisted by this commit: - Django - Programming Discussions - JetBrains Community - Raspberry Pi - Programmers Hangout - SpeakJS - DevCord - Unity - Programmer Humor - Microsoft Community Most of these are partners, or otherwise friendly communities that aren't worth pinging mods over.
2020-07-12Fix rescheduling of edited infractionsGravatar MarkKoz-1/+1
It was attempting to schedule a dictionary instead of a coroutine. Fixes #1043 Fixes BOT-6Y
2020-07-13Revert "Ping @Moderators in ModLog"Gravatar Leon Sandøy-15/+20
Let's continue to use "@everyone" for now, and add an explicit allow for it so that it successfully pings people. There's a full justification for this in the pull request. https://github.com/python-discord/bot/issues/1038
2020-07-12Remove pointless comment Gravatar Leon Sandøy-1/+1
This comment violates the DRY principle. Co-authored-by: Sebastiaan Zeeff <[email protected]>
2020-07-12Allow role pings in Syncers and help_channels.pyGravatar Leon Sandøy-2/+9
Now that we're running Discord 1.4.0a, we need to explicitely allow all the role mentions for sends that don't use ping one of the globally whitelisted role pings, which are Moderators, Admins and Owners. We were pinging roles other than Mods+ in exactly two cases: - Inside the Syncers, whenever we ask for sync confirmation (if the number of roles or users to sync is unusually high) - In the help_channels.py system, whenever we max out help channels and are unable to create more. This commit addresses both of these. GitHub #1038 https://github.com/python-discord/bot/issues/1038
2020-07-12Ping @Moderators in ModLogGravatar Leon Sandøy-14/+14
Instead of pinging @everyone, let's just ping the people who actually need to see the mod alerts or the modlogs, which would be the mods. `@everyone` is currently not permitted by our allowed_mentions setting, so this also restores pings to those channels. GitHub #1038 https://github.com/python-discord/bot/issues/1038
2020-07-09Update discord.py to fix issue with overwritesGravatar MarkKoz-3/+3
Fixes BOT-6T
2020-07-09Update range-len.mdGravatar Steele Farnsworth-4/+0
Removed all blank lines to improve how it's rendered on Discord; thanks @kwzrd for rendering this!
2020-07-08Removed hard line breaksGravatar swfarnsworth-7/+3