aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py (unfollow)
Commit message (Collapse)AuthorLines
2020-06-19Preserve empty string when substituting clydeGravatar MarkKoz-0/+2
2020-06-19Pipenv: add script for html coverage reportGravatar kwzrd-0/+1
Similarly to the `report` script, this removes the need to invoke coverage when generating the html report.
2020-06-17Make sub_clyde case-sensitive and use Cyrillic e'sGravatar MarkKoz-2/+6
The Cyrillic characters are more likely to be rendered similarly to their Latin counterparts than the math sans-serif characters.
2020-06-17Update deletion scheduler to use latest watchlist configurationGravatar Joseph Banks-17/+5
2020-06-17Add LMGTFY to domain blacklistGravatar Joseph Banks-0/+1
2020-06-16Format parameters with a more consistent styleGravatar MarkKoz-19/+19
2020-06-16Add optional type annotations to reason in pardon funcsGravatar MarkKoz-2/+2
2020-06-16Revise inaccurate typehint for Optional reasonGravatar kosayoda-18/+31
2020-06-16Revise inaccurate docstring in RedisCacheGravatar kosayoda-2/+2
2020-06-16Refactor nested if-statementGravatar kosayoda-5/+4
2020-06-15Fix 400 when "clyde" is in webhook usernameGravatar MarkKoz-8/+24
Discord just disallows this name.
2020-06-15Log exception info for failed attachment uploadsGravatar MarkKoz-1/+1
2020-06-15Webhook remover: exit early if message already deletedGravatar MarkKoz-2/+8
2020-06-15Webhook remover: ignore DMs and bot messagesGravatar MarkKoz-0/+4
Can't remove messages in DMs, so don't bother trying.
2020-06-15Token remover: exit early if message already deletedGravatar MarkKoz-3/+22
2020-06-15Token remover: move bot check to on_messageGravatar MarkKoz-21/+10
It just makes more sense to me to filter out messages at an earlier stage.
2020-06-15Token remover: ignore DMsGravatar MarkKoz-0/+13
It's a private channel so there's no risk of a token "leaking". Furthermore, messages cannot be deleted in DMs.
2020-06-15Update bot/resources/tags/customcooldown.mdGravatar Daniel Nash-3/+1
Co-authored-by: Mark <[email protected]>
2020-06-14Fix check for bot actor in infractionsGravatar MarkKoz-4/+4
The reason None check should be nested to avoid affecting the else/elif statements that follow.
2020-06-14Check infraction reason isn't None before shortening itGravatar MarkKoz-5/+8
2020-06-15Add the C# guild to the whitelistGravatar Dennis Pham-0/+1
2020-06-12Escape markdown in charinfo embedGravatar MarkKoz-2/+2
The embed displays the original character. If it's a markdown char, it would interfere with the embed's actual markdown. The backtick was especially troublesome. Fixes #996
2020-06-12Add scheme to URLGravatar Daniel Nash-1/+1
2020-06-12Update customcooldown.mdGravatar Daniel Nash-0/+2
2020-06-12Make title more specificGravatar Daniel Nash-1/+1
Co-authored-by: Mark <[email protected]>
2020-06-11Replace mention of Flask with DjangoGravatar Mark-1/+1
The site's description still stated that it was built with Flask, which is no longer accurate due to the move to Django.
2020-06-11Add cooldown to Channels in constants.pyGravatar Joseph Banks-0/+1
2020-06-11Add cooldown channel to EXCLUDED_CHANNELS tupleGravatar Joseph Banks-1/+1
2020-06-11Add cooldown channel to config-default.ymlGravatar Joseph Banks-0/+1
2020-06-11Fix trailing whitespace in Action fileGravatar Joseph Banks-1/+1