aboutsummaryrefslogtreecommitdiffstats
path: root/tests/base.py (unfollow)
Commit message (Collapse)AuthorLines
2020-08-19Replace stinky single-item unpacking syntaxGravatar MarkKoz-1/+1
2020-08-19Swap argument order in ChainMapsGravatar MarkKoz-2/+2
The defaults should be last to ensure they don't take precedence over explicitly set values.
2020-08-16msg rather than doc_embedGravatar AtieP-2/+2
2020-08-16Use wait_for_deletion from /bot/utils/messages.py instead of doc_cleanupGravatar AtieP-25/+3
2020-08-16Remove the !ask tagGravatar Leon Sandøy-9/+0
2020-08-15Unnominate banned users from the talent poolGravatar MarkKoz-19/+35
Fixes #1065
2020-08-15Escape Markdown in reddit post titlesGravatar MarkKoz-0/+3
Use a Unicode look-alike character to replace square brackets, since they'd otherwise interfere with the Markdown. Fixes #1030
2020-08-15Truncate mod log contentGravatar MarkKoz-0/+4
Discord has a limit of 2000 characters for messages.
2020-08-15Don't patch ctx.message.author in antispamGravatar MarkKoz-4/+5
The modification propagated across all code that is using the same `Message` object, including all other `on_message` listeners. This caused weird bugs e.g. the filtering cog thinking the bot authored a message that triggered a filter. Patching only `ctx.author` means the implementation is more fragile. Infraction code must ensure it only retrieves the author via `ctx.author` and not through `ctx.message`. Fixes #1005 Fixes BOT-7D
2020-08-15Satisfy some of the Azure pipelines' code requirementsGravatar AtieP-3/+3
2020-08-15Add doc cleanupGravatar AtieP-2/+26
2020-08-13Fix typo on the traceback tagGravatar AtieP-1/+1
See issue #1101
2020-08-12Filtering: ignore errors for duplicate offensive messagesGravatar MarkKoz-3/+11
The error happens when a filter is triggered by a message edit. Fixes #1099 Fixes BOT-6B