aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Boris Muratov <[email protected]>2023-04-07 07:04:06 +0300
committerGravatar Boris Muratov <[email protected]>2023-04-07 07:04:06 +0300
commitc1b64aa2bc3b0ef6cf2c612dab7796ff0f5e01ea (patch)
tree6f15101802008bde0b943a36079baa3edf8e2333
parentHandle archival task of deleted post (diff)
Use correct method for nickname filter
-rw-r--r--bot/exts/filtering/filtering.py2
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)