From 77a5b4c7425cc9866a86ebd4287c5b8716dd20d4 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 5af71cadb..e52b41c8b 100644 --- a/redbot/cogs/filter/filter.py +++ b/redbot/cogs/filter/filter.py @@ -255,7 +255,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