Return the active token in get status
Some checks failed
release-tag / release-image (push) Successful in 1h14m8s
Lint / lint (push) Failing after 10s

This commit is contained in:
Logan Cusano
2025-06-29 02:44:10 -04:00
parent b3a5dbb626
commit cbc2a3fc86

View File

@@ -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