From 7802a4a86521887dd29e8c04915138c545c7cf82 Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 29 Jun 2025 20:52:01 -0400 Subject: [PATCH] Update bot presence when joining discord as well as when starting OP25 (through join command) --- app/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/client.py b/app/client.py index 1ed6998..ad5050a 100644 --- a/app/client.py +++ b/app/client.py @@ -87,6 +87,8 @@ async def join_server(websocket, system_id, guild_id, channel_id): print("Bot token:", bot_token) # Run the bot if not await drb_api.start_bot(bot_token) + # Set the presence of the bot + await drb_api.update_bot_presence() # Check if the bot is connected to the guild, if not join if 'connected_guilds' not in bot_status or int(guild_id) not in bot_status['connected_guilds']: # Join the server