aboutsummaryrefslogtreecommitdiffstats
path: root/botstrap.py
diff options
context:
space:
mode:
authorGravatar LX <[email protected]>2023-05-01 23:43:21 +0100
committerGravatar GitHub <[email protected]>2023-05-01 23:43:21 +0100
commitaffd4179725eb7d46a430a16f6708e6d5fab3937 (patch)
treebcab3fa1ac6d5da5a1a43317184f77d745320702 /botstrap.py
parentMerge pull request #2572 from python-discord/dependabot/pip/coverage-7.2.5 (diff)
Update filtering.py to reduce nickname alert spam
This updates the `on_voice_state_update` listener of the filtering cog. Currently, it calls `self._check_bad_name` where it should call `self._check_bad_display_name`. The difference is that the latter method rate-limits how often a filtering alert is sent for a specific user's display name. Using the former method results in spammy alerts when a user with a bad display name is in a voice channel.
Diffstat (limited to 'botstrap.py')
0 files changed, 0 insertions, 0 deletions