[Filter] Add missing parentheses (#4185)

This commit is contained in:
zephyrkul
2020-08-17 07:25:15 -06:00
committed by GitHub
parent 306de3a64c
commit 0ab6abf462

View File

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