Bulk edit of voice channel members, or similar #3277
Replies: 9 comments
-
y e s p l e a s e. |
Beta Was this translation helpful? Give feedback.
-
This would be very useful indeed. |
Beta Was this translation helpful? Give feedback.
-
I still think this would be a neat thing to add. 🙂 |
Beta Was this translation helpful? Give feedback.
-
Addressing the second alternative here, it does offer a potential solution as well. That is, allow role / user overrides on a channel to be applied to users without rejoining the channel, thus this "bulk" operation occurs by updating a role override instead of adding a bulk endpoint, Personally, I would like a bulk endpoint, but I feel like this alternative may be more feasible. |
Beta Was this translation helpful? Give feedback.
-
@ckohen I don't think there's a permission that allows you to join a voice channel, but not hear what's being said, right? So that would not be a replacement for the requested functionality. |
Beta Was this translation helpful? Give feedback.
-
It would be a partial solution, in that you could bulk mute/unmute users. But, I believe you're correct that it would not allow for bulk deafen/undeafen. |
Beta Was this translation helpful? Give feedback.
-
I also think the impact on Discord would be lot higher to allow for roles to take immediate effect, rather than just adding an extra endpoint for bulk server mute/deafen. |
Beta Was this translation helpful? Give feedback.
-
That's why my suggestion is a stop-gap solution...but if everyone is muted, then there's no need to deafen (yes, I realize that sometimes you may not want to mute everyone lol) |
Beta Was this translation helpful? Give feedback.
-
Shame that the thread linearity was lost in the move to a discussion. But I'll take this as a good sign that this is at least being considered. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
I'd like to request an API endpoint for bulk-editing the voice permissions of users in a particular voice channel.
Essentially, a bulk version of
PATCH/guilds/{guild.id}/members/{user.id}
, but purely for server-mute and server-deafen.Why This is Needed
I maintain one of several bots designed to automate voice channels for users playing Among Us. The biggest hurdle faced by my bot, as well as my main competitor, is rate limiting. Specifically, we have to mute/unmute up to 10 users simultaneously whenever there's a state change within the game. Fortunately, that just barely squeezes under the usual rate limit for the
editGuildMember
API and it's been okay. (Though spectators -- folks in the channel but not playing -- are problematic.)(Un)fortunately, the developers of the game have recently announced that they'll be increasing the maximum player count to 12 or 15 in a future release. When this happens, every bot currently supporting the game will cease to function correctly. (Including at least two verified bots with hundreds of servers each.)
So, the main need is this:
Alternatives Considered
A simpler solution would be to increase the limit for
editGuildMember
to 20 requests, from 10, in a single burst. The duration of the reset timer could also be doubled, in order to maintain a similar sustained load. This is a viable alternative.We've attempted to use roles/permissions to solve this as well. However, permissions appear to only be checked when a user first joins the channel. So changing the permissions does not stop them from speaking until they leave and rejoin.
Some users have suggested running multiple bots, working together, so that they are rate-limited separately. However, this seems like a flagrant ToS violation if not explicitly approved, and has been ruled out for my project.
Beta Was this translation helpful? Give feedback.
All reactions