diff options
| author | 2020-03-12 13:30:41 -0500 | |
|---|---|---|
| committer | 2020-03-12 13:30:41 -0500 | |
| commit | 96639bca024f5b22b7e44b59de0d75aebe9c7f20 (patch) | |
| tree | 632820c2b038ba1f36b0f50329e8d8c37e45b09c /README.md | |
| parent | Merge 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 'README.md')
0 files changed, 0 insertions, 0 deletions