aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar kwzrd <[email protected]>2020-08-26 22:27:47 +0200
committerGravatar kwzrd <[email protected]>2020-08-26 23:19:01 +0200
commit1d6d845d2f052c74d6d92a1a98b537430296cc85 (patch)
tree57c5abe7992851ef1fb17783d0632aae83b6bb55 /tests/helpers.py
parentVerification: add helper for alerting admins (diff)
Verification: stop kicking members on suspicious 403
A Discord error code 50_0007 signifies that the DM dispatch failed because the target user does not accept DMs from the bot. Such errors are ignored as before. Any other 403s will however cause the bot to stop making requests. This is in case the bot gets caught by an anti-spam filter and should immediately stop.
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions