| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | Code block: re-add indentation fixing function | 2020-06-28 | -0/+49 | |
| | | | | | | | It's still useful to fix indentation to ensure AST is correctly parsed. This function deals with the relatively common case of a the leading spaces of the first line being left out when copy-pasting. | |||
| * | Code block: support IPython REPL detection | 2020-06-27 | -6/+53 | |
| | | ||||
| * | Code block: fix BadLanguage creation | 2020-06-27 | -2/+2 | |
| | | | | | Forgot to change the kwarg names when the attributes were renamed. | |||
| * | HelpChannels: fix is_in_category call | 2020-06-27 | -1/+1 | |
| | | | | | | It was still using it like it was a method of the class rather than calling it from the channel utils module. | |||
| * | Code block: clarify get_instructions's docstring | 2020-06-27 | -1/+5 | |
| | | | | | It wasn't clear that it also parses the message content. | |||
| * | Code block: simplify channel cooldown dict creation | 2020-06-27 | -1/+1 | |
| | | ||||
| * | Code block: use config constant for cooldown | 2020-06-27 | -2/+4 | |
| | | ||||
| * | Code block: make PY_LANG_CODES more visible | 2020-06-27 | -1/+2 | |
| | | | | | The declaration was a bit hidden between the two regular expressions. | |||
| * | Code block: rename BadLanguage attributes | 2020-06-27 | -4/+4 | |
| | | | | | | | The `has_` prefix it clarifies that they're booleans. Co-authored-by: Numerlor <[email protected]> | |||
| * | Merge remote-tracking branch 'origin/master' into ↵ | 2020-06-22 | -133/+469 | |
| |\ | | | | | | | bug/utility/829/non-py-code-detection | |||
| | * | Merge pull request #1002 from ↵ | 2020-06-22 | -23/+93 | |
| | |\ | | | | | | | | | | | | | python-discord/bug/backend/bot-50/sync-ignore-guilds Sync: ignore events from other guilds | |||
| | | * | Merge branch 'master' into bug/backend/bot-50/sync-ignore-guilds | 2020-06-22 | -109/+375 | |
| | | |\ | | |/ | |/| | ||||
| | * | | Merge pull request #950 from ks129/logging-tests | 2020-06-22 | -0/+32 | |
| | |\ \ | | | | | | | | | Created tests for startup logging | |||
| | | * \ | Merge branch 'master' into logging-tests | 2020-06-22 | -790/+2732 | |
| | | |\ \ | | |/ / | |/| | | ||||
| | * | | | Merge pull request #1009 from python-discord/bug/mod/bot-2a/webhook-clyde | 2020-06-20 | -8/+57 | |
| | |\ \ \ | | | | | | | | | | | Fix 400 when "clyde" is in any webhook username | |||
| | | * \ \ | Merge branch 'master' into bug/mod/bot-2a/webhook-clyde | 2020-06-20 | -100/+285 | |
| | | |\ \ \ | | |/ / / | |/| | | | ||||
| | * | | | | Merge pull request #1015 from python-discord/kwzrd/pipenv-html-script | 2020-06-19 | -0/+1 | |
| | |\ \ \ \ | | | | | | | | | | | | | Add Pipenv script for html coverage report | |||
| | | * | | | | Pipenv: add script for html coverage report | 2020-06-19 | -0/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similarly to the `report` script, this removes the need to invoke coverage when generating the html report. | |||
| | * | | | | | Merge pull request #1003 from ↵ | 2020-06-19 | -16/+47 | |
| | |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | python-discord/bug/filters/bot-58/removers-ignore-dms Ignore DMs in token and webhook removers | |||
| | | * | | | | Merge branch 'master' into bug/filters/bot-58/removers-ignore-dms | 2020-06-19 | -85/+238 | |
| | | |\ \ \ \ | | |/ / / / | |/| | | | | ||||
| | * | | | | | Merge pull request #892 from Akarys42/#364-offensive-msg-autodeletion | 2020-06-17 | -9/+80 | |
| | |\ \ \ \ \ | | | | | | | | | | | | | | | #364 offensive msg autodeletion | |||
| | | * | | | | | Update deletion scheduler to use latest watchlist configuration | 2020-06-17 | -17/+5 | |
| | | | | | | | | ||||
| | | * | | | | | Merge branch 'master' into #364-offensive-msg-autodeletion | 2020-06-17 | -2517/+7259 | |
| | | |\ \ \ \ \ | | |/ / / / / | |/| | | | | | ||||
| | * | | | | | | Merge pull request #991 from crazygmr101/feature/cooldown-tag | 2020-06-17 | -0/+20 | |
| | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | Create cooldown.md | |||
| | | * | | | | | | Update bot/resources/tags/customcooldown.md | 2020-06-15 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | |||
| | | * | | | | | | Merge branch 'master' into feature/cooldown-tag | 2020-06-12 | -76/+179 | |
| | | |\ \ \ \ \ \ | ||||
| | | * | | | | | | | Add scheme to URL | 2020-06-12 | -1/+1 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Update customcooldown.md | 2020-06-12 | -0/+2 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Make title more specific | 2020-06-12 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Mark <[email protected]> | |||
| | | * | | | | | | | Update bot/resources/tags/customcooldown.md | 2020-06-10 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Co-authored-by: Joseph Banks <[email protected]> | |||
| | | * | | | | | | | change _cd to message_cooldown | 2020-06-10 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply suggestions from code review Co-authored-by: Joseph Banks <[email protected]> | |||
| | | * | | | | | | | Move the not rate-limited message into else | 2020-06-10 | -1/+3 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Update example to not be in a cog | 2020-06-10 | -12/+10 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Rename to customcooldown.md | 2020-06-10 | -0/+0 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Update cooldown.md | 2020-06-07 | -1/+1 | |
| | | | | | | | | | | ||||
| | | * | | | | | | | Create cooldown.md | 2020-06-07 | -0/+22 | |
| | | | | | | | | | | ||||
| | * | | | | | | | | Merge pull request #1001 from python-discord/bug/mod/bot-68/ban-strips-none | 2020-06-17 | -22/+38 | |
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Check infraction reason isn't None before shortening it | |||
| | | * | | | | | | | | Format parameters with a more consistent style | 2020-06-16 | -19/+19 | |
| | | | | | | | | | | | ||||
| | | * | | | | | | | | Add optional type annotations to reason in pardon funcs | 2020-06-16 | -2/+2 | |
| | | | | | | | | | | | ||||
| | | * | | | | | | | | Revise inaccurate typehint for Optional reason | 2020-06-16 | -18/+31 | |
| | | | | | | | | | | | ||||
| | | * | | | | | | | | Fix check for bot actor in infractions | 2020-06-14 | -4/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The reason None check should be nested to avoid affecting the else/elif statements that follow. | |||
| | | * | | | | | | | | Check infraction reason isn't None before shortening it | 2020-06-14 | -5/+8 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | Add LMGTFY to domain blacklist | 2020-06-17 | -0/+1 | |
| | | | | | | | | | | | ||||
| | * | | | | | | | | | Merge pull request #987 from python-discord/help_channel_rediscache | 2020-06-16 | -53/+98 | |
| | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | Add persistence to the help channel system | |||
| | | * \ \ \ \ \ \ \ \ | Merge branch 'master' into help_channel_rediscache | 2020-06-16 | -243/+585 | |
| | | |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / | |/| | | | | | | | | | ||||
| | | * | | | | | | | | | Revise inaccurate docstring in RedisCache | 2020-06-16 | -2/+2 | |
| | | | | | | | | | | | | ||||
| | | * | | | | | | | | | Refactor nested if-statement | 2020-06-16 | -5/+4 | |
| | | | | | | | | | | | | ||||
| | | * | | | | | | | | | Help channels: revise inaccurate comment | 2020-06-08 | -1/+1 | |
| | | | | | | | | | | | | ||||
| | | * | | | | | | | | | Help channels: use cache to remove cooldowns or re-schedule them | 2020-06-08 | -7/+20 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the cache is more efficient since it can check only the users it expects to have a cooldown rather than searching all guild members. Furthermore, re-scheduling the cooldowns ensures members experience the full duration of the cooldown. Previously, all cooldowns were removed, regardless of whether they were expired. | |||
| | | * | | | | | | | | | Help channels: add a function to schedule cooldown expiration | 2020-06-08 | -4/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moving this code into a separate function reduces redundancy down the line. This will also get used to re-scheduled cooldowns after a restart. | |||