Fix issue: Pouvait dans certains cas cacher le message d'erreur quand le message était supprimé.

This commit is contained in:
Mylloon 2020-12-28 18:45:26 +01:00
parent 330f745fe2
commit c45045a425

View file

@ -88,8 +88,8 @@ async def on_raw_reaction_remove(payload):
@client.event @client.event
async def on_command_error(ctx, error): async def on_command_error(ctx, error):
if not ctx.invoked_with.startswith('.'): if not ctx.invoked_with.startswith('.'):
await ctx.message.add_reaction(emoji = '')
print(error) print(error)
await ctx.message.add_reaction(emoji = '')
@client.event @client.event
async def on_message(message): async def on_message(message):