From d346a556e0767a1cdd48f6549b1c1d0f3282a703 Mon Sep 17 00:00:00 2001 From: lauralani Date: Mon, 1 Jan 2024 18:12:09 +0100 Subject: [PATCH] update reactions --- app.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 045f4df..063bc3e 100644 --- a/app.py +++ b/app.py @@ -75,15 +75,18 @@ async def on_message(message): return logger.info( f"{command} by {message.author.name}, Game: {messagearray[1]}") + await message.add_reaction("⏳") success = HandleSystemdService(game, command) # :white_check_mark: :x: if success: + await message.remove_reaction("⏳") logger.info( f"{command} by {message.author.name}, Game: {messagearray[1]} was SUCESSFUL") await message.add_reaction("✅") - await message.channel.send(f"Successfully started {game['displayname']}! Happy gaming! 🎮") + await message.channel.send(f"Successfully started {game['displayname']}! Happy gaming {message.author.mention}! 🎮") else: + await message.remove_reaction("⏳") logger.error( f"{command} by {message.author.name}, Game: {messagearray[1]} FAILED!") await message.add_reaction("❌")