fix remove_reaction
This commit is contained in:
parent
0bf5c17df3
commit
2eed23dabc
1 changed files with 2 additions and 2 deletions
4
app.py
4
app.py
|
@ -80,7 +80,7 @@ async def on_message(message):
|
|||
|
||||
# :white_check_mark: :x:
|
||||
if success:
|
||||
await message.remove_reaction("⏳")
|
||||
await message.remove_reaction("⏳", client.user.id)
|
||||
logger.info(
|
||||
f"{command} by {message.author.name}, Game: {messagearray[1]} was SUCESSFUL")
|
||||
await message.add_reaction("✅")
|
||||
|
@ -91,7 +91,7 @@ async def on_message(message):
|
|||
elif command == "restart":
|
||||
await message.channel.send(f"Successfully restarted {game['displayname']}! Happy gaming {message.author.mention}! 🎮")
|
||||
else:
|
||||
await message.remove_reaction("⏳")
|
||||
await message.remove_reaction("⏳", client.user.id)
|
||||
logger.error(
|
||||
f"{command} by {message.author.name}, Game: {messagearray[1]} FAILED!")
|
||||
await message.add_reaction("❌")
|
||||
|
|
Loading…
Reference in a new issue