aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Refactor commands return typeGravatar kosayoda2020-07-19-5/+8
|
* Move mentions validation to another methodGravatar kosayoda2020-07-19-13/+20
|
* Refactor reminder edits to reduce code duplicationGravatar kosayoda2020-07-19-40/+25
| | | | | | The reminder expiration returnedfrom the API call is also now parsed again even when the edit is to the duration since it does not matter and trying to keep it DRY while still doing that check is a pain.
* Rename method to improve readabilityGravatar kosayoda2020-07-19-3/+3
|
* Fix incorrect typehint and shorten method nameGravatar kosayoda2020-07-19-3/+3
|
* Extract `send_denial` to a utility functionGravatar kosayoda2020-07-19-17/+20
|
* Namespace Member and Role to avoid extra importsGravatar kosayoda2020-07-19-3/+2
|
* Allow editing additional mentions for reminders.Gravatar kosayoda2020-07-16-0/+28
|
* List additional mentions in `!reminder list`.Gravatar kosayoda2020-07-16-3/+9
|
* Send additional mentions in reminders.Gravatar kosayoda2020-07-16-1/+5
|
* Allow mentioning other users and roles in reminders.Gravatar kosayoda2020-07-16-6/+26
|
* Add generator that converts IDs to Role or Member objects.Gravatar kosayoda2020-07-16-0/+7
|
* Add method to check if user is allowed to mention in reminders.Gravatar kosayoda2020-07-16-1/+21
|
* Extract sending error embed to a separate method.Gravatar kosayoda2020-07-16-13/+12
|
* Remove duplicate reminder deletion.Gravatar kosayoda2020-07-16-1/+1
| | | | | | | | | The function `_delete_reminder` was called twice, once in `schedule_reminder`, which calls `send_reminder`, then another in `send_reminder` itself. This led to a 404 response from the site api, as the reminder was already deleted the first time. Fixes BOT-6W
* Merge pull request #1041 from python-discord/dm_relayGravatar Kieran Siek2020-07-15-107/+198
|\ | | | | Relay all DMs sent to the bot to #dm_log
| * Merge branch 'master' into dm_relayGravatar Kieran Siek2020-07-15-15/+49
| |\ | |/ |/|
* | Merge pull request #1044 from python-discord/talentpool-oldestGravatar Kieran Siek2020-07-15-5/+43
|\ \ | | | | | | Allow ordering talentpool/bigbrother watched users by oldest added
| * \ Merge branch 'master' into talentpool-oldestGravatar kosayoda2020-07-15-10/+6
| |\ \ | |/ / |/| |
* | | Merge pull request #1051 from ↵Gravatar Dennis Pham2020-07-14-7/+6
|\ \ \ | | | | | | | | | | | | | | | | python-discord/bug/info/1050/remove-help-reactions-404 Suppress NotFound when removing help command reactions
| * \ \ Merge branch 'master' into bug/info/1050/remove-help-reactions-404Gravatar Dennis Pham2020-07-14-3/+0
| |\ \ \ | |/ / / |/| | |
* | | | HelpChannels: remove cooldown info from available messageGravatar MarkKoz2020-07-14-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Users can no longer see available channels if they're on cooldown. They will instead see a special "cooldown" channel which will explain what's going on.
| * | | Suppress NotFound when removing help cmd reactionsGravatar MarkKoz2020-07-14-7/+6
|/ / / | | | | | | | | | | | | | | | | | | The message may be deleted somehow before the wait_for times out. Fixes #1050 Fixes BOT-6X
| * | Document new kwarg in docstringGravatar kosayoda2020-07-15-0/+2
| | |
| * | Merge branch 'master' into talentpool-oldestGravatar Dennis Pham2020-07-14-55/+143
| |\ \ | |/ / |/| |
| * | Achieve feature parity with talentpoolGravatar kosayoda2020-07-14-2/+17
| | |
| * | Add command to list nominees by oldest firstGravatar kosayoda2020-07-14-0/+11
| | |
| * | Accept argument to order nominees by oldest firstGravatar kosayoda2020-07-14-2/+6
| | |
| * | Pass argument as kwarg to preserve functionalityGravatar kosayoda2020-07-14-1/+1
| | |
| * | Allow ordering watched users by oldest firstGravatar kosayoda2020-07-14-1/+7
| | |
| | * Merge branch 'master' into dm_relayGravatar Leon Sandøy2020-07-15-55/+153
| | |\ | |_|/ |/| |
* | | Merge pull request #1032 from slushiegoose/sanitize-bot-outputGravatar Mark2020-07-14-53/+141
|\ \ \ | | | | | | | | Sanitize bot output
| * | | fix misaligned indentationGravatar Slushie2020-07-14-37/+37
| | | |
| * | | edit snekbox tests to work with filteringGravatar Slushie2020-07-13-0/+12
| | | |
| * | | check for the filter_cog in case it is unloadedGravatar Slushie2020-07-13-1/+3
| | | |
| * | | rename the `_filter_eval` function to be a public functionGravatar Slushie2020-07-13-2/+2
| | | |
| * | | Add missing variable assignment to stop NameErrors occurringGravatar Slushie2020-07-09-0/+1
| | | |
| * | | Fix missing hypenGravatar slushiegoose2020-07-09-1/+1
| | | | | | | | | | | | Co-authored-by: Leon Sandøy <[email protected]>
| * | | Call the filter eval command after receiving an eval resultGravatar Slushie2020-07-08-1/+6
| | | |
| * | | Create a filtering function to filter eval resultsGravatar Slushie2020-07-08-52/+120
| | | |
| * | | Edit BadArgument error messageGravatar Slushie2020-07-08-1/+1
| | | |
* | | | Remove redundant kwarg in !kick and !shadow_kickGravatar kosayoda2020-07-14-2/+2
| |/ / |/| | | | | | | | | | | | | | | | | | | | The kwarg `active=False` is already being passed in `apply_kick`, therefore passing it in the parent callers result in a TypeError. Fixes #976 Fixes BOT-5P
* | | Whitelisting some popular communitiesGravatar Leon Sandøy2020-07-13-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.
| | * Remove caching of last_dm_user.Gravatar Leon Sandøy2020-07-15-25/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you're typing up a reply and the bot gets another DM while you're typing, you might accidentally send your reply to the wrong person. This could happen even if you're very attentive, because it might be a matter of milliseconds. The complexity to prevent this isn't worth the convenience of the feature, and it's nice to get rid of the caching as well, so I've decided to just make .reply require a user for every reply. https://github.com/python-discord/bot/issues/1041
| | * Merge branch 'master' into dm_relayGravatar Leon Sandøy2020-07-13-173/+169
| | |\ | |_|/ |/| |
* | | Merge pull request #1039 from ↵Gravatar Dennis Pham2020-07-13-4/+16
|\ \ \ | | | | | | | | | | | | | | | | python-discord/1038_allow_role_mentions_in_specific_areas Allow role mentions in specific areas
| * \ \ Merge branch 'master' into 1038_allow_role_mentions_in_specific_areasGravatar Dennis Pham2020-07-13-169/+153
| |\ \ \ | |/ / / |/| | |
* | | | Fix rescheduling of edited infractionsGravatar MarkKoz2020-07-12-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It was attempting to schedule a dictionary instead of a coroutine. Fixes #1043 Fixes BOT-6Y
* | | | Merge pull request #1017 from python-discord/feat/backend/800/scheduler-redesignGravatar Mark2020-07-12-169/+153
|\ \ \ \ | | | | | | | | | | Scheduler Redesign
| * \ \ \ Merge branch 'master' into feat/backend/800/scheduler-redesignGravatar Mark2020-07-12-217/+683
| |\ \ \ \ | |/ / / / |/| | | |