| Commit message (Collapse) | Author | Lines | ||
|---|---|---|---|---|
| 2020-07-14 | Incidents: link `proxy_url` if attachment fails to download | -50/+59 | ||
| Suggested by Mark during review. If the download fails, we fallback on showing an informative message, which will link the attachment cdn link. The attachment-handling logic was moved from the `archive` coroutine into `make_embed`, which now also returns the file, if available. In the end, this appears to be the smoothest approach. Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-13 | Incidents: add `download_file` helper & tests | -0/+33 | ||
| Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-09 | Update discord.py to fix issue with overwrites | -3/+3 | ||
| Fixes BOT-6T | ||||
| 2020-07-09 | Config: refactor #incidents constants to lexicographical sorting | -12/+12 | ||
| Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-09 | Incidents tests: improve in-line comment wording | -1/+1 | ||
| Co-authored-by: MarkKoz <[email protected]> | ||||
| 2020-07-09 | Incidents: use `moderation_roles` constant | -3/+3 | ||
| Better than building the set manually. Tested against regression by comparing the two sets for equality. Suggested by vivax. Co-authored-by: vivax3794 <[email protected]> | ||||
| 2020-07-07 | Re-lock Pipfile | -2/+1 | ||
| Forgot to do this after removing editable. | ||||
| 2020-07-07 | Don't install discord.py as editable | -1/+1 | ||
| It may be causing it to not be cached in Azure. | ||||
| 2020-07-07 | Fix git install in Dockerfile | -3/+5 | ||
| 2020-07-07 | Add git to Docker image | -0/+3 | ||
| 2020-07-07 | Allow owners, admins, and mods roles to be pinged | -1/+2 | ||
| 2020-07-07 | Prevent bot from mentioning roles | -96/+127 | ||
| This was open to abuse when the bot relayed user input. | ||||
| 2020-07-06 | Fix imports in slowmode tests | -3/+3 | ||
| 2020-07-06 | Move slowmode cog to the moderation subpackage | -2/+3 | ||
| 2020-07-06 | Improve set_slowmode tests by checking whether the channel was edited | -8/+22 | ||
| 2020-07-06 | Add multiple test cases for set_slowmode tests | -10/+34 | ||
| 2020-07-06 | Use local text_channel instead of instance attribute | -13/+10 | ||
| 2020-07-06 | Add tests for set_slowmode | -0/+20 | ||
| 2020-07-06 | Add tests for reset_slowmode | -3/+22 | ||