I recently rewrote my bot from using a gateway connection to purely using Discord's REST API due to scalability and reliability problems once it passed ~90 thousand servers.
In doing so, I've had to drop one command that relied on getting the nick/global/usernames of people connected to a particular voice channel. My bot previously used gateway events to know who was in a voice channel, with the Presence Intent enabled.
My request is for the ability to get the guild members currently connected to a voice channel with a REST call, either with the existing Get Channel endpoint, or a new endpoint.
Additionally, it would be helpful if I could get a particular guild member's voice state. That way I could get the user from the interaction, then the voice channel from that user's voice state, and finally the members from that voice channel.
Accedi per aggiungere un commento.