From 0ab6abf4625f6e253441fb6f816ce6652a33e13e Mon Sep 17 00:00:00 2001 From: zephyrkul Date: Mon, 17 Aug 2020 07:25:15 -0600 Subject: [PATCH] [Filter] Add missing parentheses (#4185) --- redbot/cogs/filter/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redbot/cogs/filter/filter.py b/redbot/cogs/filter/filter.py index b50e5f336..63f8032de 100644 --- a/redbot/cogs/filter/filter.py +++ b/redbot/cogs/filter/filter.py @@ -272,7 +272,7 @@ class Filter(commands.Cog): elif isinstance(server_or_channel, discord.TextChannel): async with self.config.channel(server_or_channel).filter() as cur_list: for w in words: - if w.lower not in cur_list and w: + if w.lower() not in cur_list and w: cur_list.append(w.lower()) added = True