Return the active token in get status
This commit is contained in:
@@ -52,6 +52,7 @@ async def leave_voice_channel(request: VoiceChannelLeaveRequest):
|
|||||||
async def get_status():
|
async def get_status():
|
||||||
status = {
|
status = {
|
||||||
"bot_running": bot_manager.bot is not None and not bot_manager.bot.is_closed(),
|
"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
|
return status
|
||||||
|
|||||||
Reference in New Issue
Block a user