aboutsummaryrefslogtreecommitdiffstats
path: root/tests/__init__.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2019-09-13 14:06:30 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2019-09-13 14:06:30 +0200
commitccb37f310bdf936223a83707c2541f98e0e61354 (patch)
treee4b0553d44434651e3e9eaf43f04c2689e06b9a0 /tests/__init__.py
parentUpdate bot cog with recent changes. (diff)
Fix bugs and inconsistencies in moderation cog
Recent changes and updates to the moderation cog introduced some inconsistencies that were causing bugs or differences in behavior between very similar commands. I've remedied the problems by: - Consistently making sure we stop if a post_infraction API call fails; - Factoring out the check for active infractions to a utility function; - Updating commands that expected a pre-migration API response format. In addition, I've also added function annotations.
Diffstat (limited to 'tests/__init__.py')
0 files changed, 0 insertions, 0 deletions