aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Remove the now deprecated in_channel_check.Gravatar Leon Sandøy2020-05-27-16/+0
| | | | | This check was no longer being used anywhere, having been replaced by in_whitelist_check.
* Merge branch 'master' into moderation_commands_in_modmail_categoryGravatar Joseph Banks2020-05-27-0/+1
|\
| * Add /r/FlutterDev to the guild invite whitelistGravatar Dennis Pham2020-05-26-0/+1
| |
* | Allow some commands to fail checks silently.Gravatar Leon Sandøy2020-05-27-2/+9
| | | | | | | | | | | | For example, we don't want the mod commands to produce any kind of error message when run by ordinary users in regular channels - these should have the perception of being invisible and unavailable.
* | No redirect for mod management.Gravatar Leon Sandøy2020-05-27-0/+1
| |
* | Find + change all InWhitelistCheckFailure importsGravatar Leon Sandøy2020-05-27-9/+8
| |
* | Allow infraction management in modmail categoryGravatar Leon Sandøy2020-05-27-12/+13
| |
* | Refactor the in_whitelist deco to a check.Gravatar Leon Sandøy2020-05-27-53/+86
|/ | | | | | | | | We're moving the actual predicate into the `utils.checks` folder, just like we're doing with most of the other decorators. This is to allow us the flexibility to use it as a pure check, not only as a decorator. This commit doesn't actually change any functionality, just moves it around.
* Merge pull request #866 from python-discord/restricted_tagsGravatar Shirayuki Nekomata2020-05-26-17/+42
|\ | | | | feature to restrict tags to specific role(s)
| * Merge branch 'master' into restricted_tagsGravatar Shirayuki Nekomata2020-05-26-955/+2577
| |\ | |/ |/|
* | [stats] Do not report modmail channels to statsGravatar Joseph Banks2020-05-26-1/+11
| |
* | Merge pull request #936 from python-discord/bug/filters/929/invalid-invitesGravatar kwzrd2020-05-25-1/+3
|\ \ | | | | | | Filtering: don't attempt to send additional embeds for invalid invites
| * \ Merge branch 'master' into bug/filters/929/invalid-invitesGravatar kwzrd2020-05-25-594/+833
| |\ \ | |/ / |/| |
* | | Add discord.gift to URL blacklist, closes #958Gravatar Joseph Banks2020-05-24-0/+1
| | |
* | | Merge pull request #956 from ks129/help-channels-deleteGravatar Sebastiaan Zeeff2020-05-24-5/+40
|\ \ \ | | | | | | | | Help System: Move dormant faster if help channel is empty
| * \ \ Merge branch 'master' into help-channels-deleteGravatar Sebastiaan Zeeff2020-05-24-8/+64
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #934 from python-discord/bug/filters/933/dont-delete-in-dmsGravatar Dennis Pham2020-05-23-4/+6
|\ \ \ \ | | | | | | | | | | Filtering: don't delete messages in DMs
| * \ \ \ Merge branch 'master' into bug/filters/933/dont-delete-in-dmsGravatar Dennis Pham2020-05-23-585/+786
| |\ \ \ \ | |/ / / / |/| | | |
* | | | | Merge pull request #945 from ks129/statsGravatar Joseph Banks2020-05-22-1/+36
|\ \ \ \ \
| * \ \ \ \ Merge branch 'master' into statsGravatar Joseph Banks2020-05-22-505/+362
| |\ \ \ \ \ | |/ / / / / |/| | | | |
* | | | | | Merge pull request #942 from ks129/python-news-statsGravatar Joseph Banks2020-05-22-0/+6
|\ \ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into python-news-statsGravatar Mark2020-05-20-505/+356
| |\ \ \ \ \ \ | |/ / / / / / |/| | | | | |
* | | | | | | Merge pull request #944 from Numerlor/eval-timeout-increaseGravatar Dennis Pham2020-05-19-2/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Increase snekbox re eval timeout to 30 seconds
| * \ \ \ \ \ \ Merge branch 'master' into eval-timeout-increaseGravatar Dennis Pham2020-05-19-503/+349
| |\ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | |
* | | | | | | | Add Steam gift card scam to domain blacklistGravatar S. Co12020-05-18-0/+2
| | | | | | | |
* | | | | | | | [bug] Adjustment to changes in #941, return message sent by webhook so ↵Gravatar Joseph Banks2020-05-19-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | publish can take place
* | | | | | | | Merge pull request #941 from ks129/reddit-publishGravatar Dennis Pham2020-05-18-1/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add message publishing to Reddit cog
| * \ \ \ \ \ \ \ Merge branch 'master' into reddit-publishGravatar Dennis Pham2020-05-18-777/+1183
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Add message publishing to `Reddit` cogGravatar ks1292020-05-13-1/+7
| | | | | | | | |
| | * | | | | | | Change tests to use the new timeout constantGravatar Numerlor2020-05-15-1/+5
| | | | | | | | |
| | * | | | | | | Move the re eval timeout to a module constantGravatar Numerlor2020-05-15-1/+2
| | | | | | | | |
| | * | | | | | | Increase snekbox re eval timeout.Gravatar Numerlor2020-05-15-1/+1
| | | | | | | | |
| | | * | | | | | Merge branch 'master' into python-news-statsGravatar ks1292020-05-14-2/+1
| | | |\ \ \ \ \ \ | | | |/ / / / / / | | |/| | | | | |
| | | * | | | | | Python News: Implement statsGravatar ks1292020-05-14-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add stat increaser to PEP and maillist posting.
| | | | * | | | | Eval Stats: Replaced `elif` with `else` on icon checkGravatar ks1292020-05-22-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | * | | | | Stats: Fix docstringsGravatar ks1292020-05-19-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joseph Banks <[email protected]>
| | | | * | | | | Stats: Fixed stat namesGravatar ks1292020-05-19-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joseph Banks <[email protected]>
| | | | * | | | | Stats: Added stats for eval channel using (Help/Bot commands/Topical)Gravatar ks1292020-05-16-0/+7
| | | | | | | | |
| | | | * | | | | Stats: Added stats for eval role uses (Helpers/Developers)Gravatar ks1292020-05-16-0/+5
| | | | | | | | |
| | | | * | | | | Stats: Added stats for eval successes + failsGravatar ks1292020-05-16-0/+6
| | | | | | | | |
| | | | * | | | | Stats: Added codeblock correction statsGravatar ks1292020-05-16-0/+2
| | | | | | | | |
| | | | * | | | | Stats: Create guild boost stat collectionGravatar ks1292020-05-16-1/+16
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | Collect Guild boost amount + level and post it to StatsD every hour in task. Added starting to cog `__init__.py` and stopping to `cog_unload`.
| | | | * | | | Filtering: don't delete messages in DMsGravatar MarkKoz2020-05-09-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bots are incapable of deleting direct messages authored by others.
| | | | | * | | HelpChannels: remove `is_dormant_message`Gravatar MarkKoz2020-05-22-5/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At this point, it's just a thin wrapper to call another function. It's redundant.
| | | | | * | | HelpChannels: move message None check inside `match_bot_embed`Gravatar MarkKoz2020-05-22-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was being done repeatedly outside the function so let's move it in to reduce redundancy.
| | | | | * | | HelpChannels: rename `embed_description_match`Gravatar MarkKoz2020-05-22-5/+5
| | | | | | | |
| | | | | * | | HelpChannels: fix `is_empty` not being awaitedGravatar MarkKoz2020-05-22-2/+5
| | | | | | | |
| | | | | * | | Help: Create `embed_description_match`Gravatar ks1292020-05-22-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Created function `embed_description_match`. - Implemented this to `is_empty` - Implemented this to `is_dormant_message`
| | | | | * | | Help: Fix docstrings of `is_empty` and `on_message_delete`Gravatar ks1292020-05-22-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]>
| | | | | * | | Help: Implemented faster close when claimant delete msg no more messagesGravatar ks1292020-05-21-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Created function `is_empty` that check is there any message in channel after bot own available message. - `on_message_delete` that reschedule task when message is on correct channel and is empty. - In `move_idle_channel` function, implemented choosing right cooldown, based on is channel empty or not.