mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
[Filter] Add missing parentheses (#4185)
This commit is contained in:
parent
306de3a64c
commit
0ab6abf462
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user