Skip to content

Commit

Permalink
unidecode for more places
Browse files Browse the repository at this point in the history
  • Loading branch information
FO-nTTaX committed Feb 18, 2023
1 parent 02b87d3 commit 9a8de42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftsbot/cogs/antispam.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 9a8de42

Please sign in to comment.