[Filter] Add missing parentheses (#4185)

This commit is contained in:
zephyrkul
2020-08-17 07:25:15 -06:00
committed by jack1142
parent 7707fec199
commit 77a5b4c742

View File

@@ -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