From 9a8de42e270af83713adb01a6cf0ace3f5937cd6 Mon Sep 17 00:00:00 2001 From: Alex Winkler Date: Sat, 18 Feb 2023 19:07:34 +0100 Subject: [PATCH] unidecode for more places --- ftsbot/cogs/antispam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftsbot/cogs/antispam.py b/ftsbot/cogs/antispam.py index 2a56f15..01fb74b 100644 --- a/ftsbot/cogs/antispam.py +++ b/ftsbot/cogs/antispam.py @@ -187,7 +187,7 @@ async def on_message( ) # delete flagged message await message.delete() - if 'liquidpedia' in message.content.lower(): + if 'liquidpedia' in unidecode(message.content).lower(): await message.channel.send( embed=discord.Embed( colour=discord.Colour(0xff0000),