diff options
author | 2019-09-15 02:00:04 +0200 | |
---|---|---|
committer | 2019-09-15 02:00:04 +0200 | |
commit | 76c9515501c09a8adb19dcff8f1d61e2a6dd188f (patch) | |
tree | 931528d338ca5c39c14ce40de0c01f08c944f7c6 /scripts | |
parent | Fix AntiSpam sending duplicate messages to API (diff) |
Fix deleting already deleted message in antispam
Since we're in an async context, it can happen that a message was
already deleted before the antispam cog could get to it. To prevent
processing from stopping dead because of a NotFound exception, I added
a try-except and log message to handle that
In addition, corrected a small mistake: trying to indice a single
Message object. Corrected.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions