From fd666963615ace9edb4a5dfa0b6b3b334276e90d Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 1 Jan 2024 18:29:01 +0100 Subject: [PATCH] fix removal of reactions --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index 946f154..8bca97d 100644 --- a/app.py +++ b/app.py @@ -80,7 +80,7 @@ async def on_message(message): # :white_check_mark: :x: if success: - await message.remove_reaction("⏳", client.user.id) + await message.remove_reaction("⏳", client.user) 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("⏳", client.user.id) + await message.remove_reaction("⏳", client.user) logger.error( f"{command} by {message.author.name}, Game: {messagearray[1]} FAILED!") await message.add_reaction("❌")