aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Daniel Brown <[email protected]>2020-03-12 13:30:41 -0500
committerGravatar Daniel Brown <[email protected]>2020-03-12 13:30:41 -0500
commit96639bca024f5b22b7e44b59de0d75aebe9c7f20 (patch)
tree632820c2b038ba1f36b0f50329e8d8c37e45b09c /tests
parentMerge remote-tracking branch 'origin/hemlock-perma-ban-watch-removal' into he... (diff)
Corrected expiration check logic and cog loading
Bugs fixed: - Previously, the code would check to see if `'expires_at'` was in the kwargs, which after testing I came to find out that it is regardless of the duration of the ban. It has sense been changed to use a `.get()` in order to do a proper comparison. - Code previously attempted to load from the `"BigBrother"` cog which is the incorrect spelling. Changed it to `"Big Brother"` to correct this. Logging Added: - Additional trace logs added to both the `infractions.py` file as well as `bigbrother.py` to assist with future debugging or testing. Signed-off-by: Daniel Brown <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions