diff options
| author | 2023-05-01 23:43:21 +0100 | |
|---|---|---|
| committer | 2023-05-01 23:43:21 +0100 | |
| commit | affd4179725eb7d46a430a16f6708e6d5fab3937 (patch) | |
| tree | bcab3fa1ac6d5da5a1a43317184f77d745320702 /botstrap.py | |
| parent | Merge 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