diff options
author | 2023-04-07 07:04:06 +0300 | |
---|---|---|
committer | 2023-04-07 07:04:06 +0300 | |
commit | c1b64aa2bc3b0ef6cf2c612dab7796ff0f5e01ea (patch) | |
tree | 6f15101802008bde0b943a36079baa3edf8e2333 | |
parent | Handle archival task of deleted post (diff) |
Use correct method for nickname filter
-rw-r--r-- | bot/exts/filtering/filtering.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/filtering/filtering.py b/bot/exts/filtering/filtering.py index b6b0421cc..82006c9db 100644 --- a/bot/exts/filtering/filtering.py +++ b/bot/exts/filtering/filtering.py @@ -223,7 +223,7 @@ class Filtering(Cog): nick_ctx = FilterContext.from_message(Event.NICKNAME, msg) nick_ctx.content = msg.author.display_name - await self._check_bad_name(nick_ctx) + await self._check_bad_display_name(nick_ctx) await self._maybe_schedule_msg_delete(ctx, result_actions) self._increment_stats(triggers) |