mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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):
|
elif isinstance(server_or_channel, discord.TextChannel):
|
||||||
async with self.config.channel(server_or_channel).filter() as cur_list:
|
async with self.config.channel(server_or_channel).filter() as cur_list:
|
||||||
for w in words:
|
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())
|
cur_list.append(w.lower())
|
||||||
added = True
|
added = True
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user