aboutsummaryrefslogtreecommitdiffstats
path: root/tests/helpers.py
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-09-04 20:05:03 +0200
committerGravatar Sebastiaan Zeeff <[email protected]>2020-09-04 20:05:03 +0200
commit1512dcc994dfacd0995a93320efc001550f15212 (patch)
treeb103e66d76ed0718d4fc748ea57c4cd64d05e3c0 /tests/helpers.py
parentMerge pull request #1132 from python-discord/bug/filters/1130/ignore-codebloc... (diff)
Disable burst_shared filter of the AntiSpam cog
Our AntiSpam cog suffers from a race condition that causes it to try and infract the same user multiple times. As that happens frequently with the burst_shared filter, it means that our bot joins in and starts spamming the channel with error messages. Another issue is that burst_shared may cause our bot to send a lot of DMs to a lot of different members. This caused our bot to get a DM ban from Discord after a recent `everyone` ping incident. I've decided to disable the `burst_shared` filter by commenting out the relevant lines but leave the code in place otherwise. This means we still have the implementation handy in case we want to re-enable it on short notice. Signed-off-by: Sebastiaan Zeeff <[email protected]>
Diffstat (limited to 'tests/helpers.py')
0 files changed, 0 insertions, 0 deletions