aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/filters/filter_lists.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/filters/filter_lists.py b/bot/exts/filters/filter_lists.py
index 9d3a52942..a883ddf54 100644
--- a/bot/exts/filters/filter_lists.py
+++ b/bot/exts/filters/filter_lists.py
@@ -76,7 +76,7 @@ class FilterLists(Cog):
# If it's a filter token, validate the passed regex
elif list_type == "FILTER_TOKEN":
try:
- _ = re.compile(content)
+ re.compile(content)
except re.error as e:
await ctx.message.add_reaction("❌")
await ctx.send(