Let bots unmute users when they are not in a voice channel.
I'm developing a bot for managing online classrooms, and I'm developing a feature to force everyone in a voice channel to be server muted, except for the teacher. If a users leaves while muted, though, I can't unmute them again when the mute is lifted, because they are not in a voice channel. I could keep track of which users haven't been unmuted yet, and unmute when they join, but that would be prone to reliability issues. The current API blocks both muting and unmuting users when trying to modify a guild member who's not in a voice channel. Perhaps allow just unmuting people? (using the Modify Guild Member endpoint)
-
Heya I've encountered the same issue. I've worked around it by saving in a database who was muted when they left a VC and just removing the mute when they joined again.
Hope this helps :)
0
Iniciar sesión para dejar un comentario.
Comentarios
1 comentario