From f68b27768db44cabbc2ae4e66a42fa040a937958 Mon Sep 17 00:00:00 2001 From: GDWR Date: Tue, 1 Feb 2022 20:56:14 +0000 Subject: 💡 Correct docstring to explain functionality MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/exts/filters/filtering.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/exts/filters/filtering.py b/bot/exts/filters/filtering.py index 6c70ab397..5ea18d8f1 100644 --- a/bot/exts/filters/filtering.py +++ b/bot/exts/filters/filtering.py @@ -209,7 +209,7 @@ class Filtering(Cog): @Cog.listener() async def on_voice_state_update(self, member: Member, before: VoiceState, after: VoiceState) -> None: - """Checks for bad words in usernames when users join or change voice channels.""" + """Checks for bad words in usernames when users initially joins a voice channel.""" if after.channel and not before.channel: await self.check_bad_words_in_name(member) -- cgit v1.2.3