tools.discord_voice_states module
Query who is currently connected to voice channels in a Discord server.
- async tools.discord_voice_states.run(server_id=None, ctx=None)[source]
Return a formatted list of voice channels and their connected members.
- Parameters:
server_id (
str|None) – Discord guild ID. Falls back to the context guild.ctx (
ToolContext|None) – Tool execution context.
- Return type:
- Returns:
Formatted string describing voice channel occupancy.