From c1b64aa2bc3b0ef6cf2c612dab7796ff0f5e01ea Mon Sep 17 00:00:00 2001 From: Boris Muratov <8bee278@gmail.com> Date: Fri, 7 Apr 2023 07:04:06 +0300 Subject: Use correct method for nickname filter --- bot/exts/filtering/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3