Fix issue: Pouvait dans certains cas cacher le message d'erreur quand le message était supprimé.
This commit is contained in:
parent
330f745fe2
commit
c45045a425
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -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):
|
||||||
|
|
Reference in a new issue