From cbc2a3fc8683fc30a8faa9059dcc07847808567e Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Sun, 29 Jun 2025 02:44:10 -0400 Subject: [PATCH] Return the active token in get status --- app/routers/bot.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/routers/bot.py b/app/routers/bot.py index 0e62cbc..d477d27 100644 --- a/app/routers/bot.py +++ b/app/routers/bot.py @@ -52,6 +52,7 @@ async def leave_voice_channel(request: VoiceChannelLeaveRequest): async def get_status(): status = { "bot_running": bot_manager.bot is not None and not bot_manager.bot.is_closed(), - "connected_guilds": list(bot_manager.voice_clients.keys()) + "connected_guilds": list(bot_manager.voice_clients.keys()), + "active_token": bot_manager.token } return status