remove mention in citation

This commit is contained in:
Mylloon 2021-05-28 13:29:52 +02:00
parent d913f7758f
commit 32e2e5cd75

View file

@ -171,7 +171,7 @@ async def on_message(message):
await message.channel.send(embed = embed)
await message.delete()
else:
await message.reply(embed = embed)
await message.reply(embed = embed, mention_author = False)
except Exception as e:
e = str(e)
if not "invalid literal for int() with base 10:" in e or not "404 Not Found (error code: 10008)" in e: # faute de frappe / message supprimé