This is a voice manager for R6Pugs. It manages the creation, deletion and permissions management of voice channels as well as moving members into the right channels at the right time.
Right now, four channels are created when a pug is started. They are also deleted when a pug is ended:
Header channel (just a bunch of dashes for visuals, no one can actually join it)
Lobby - only members who join the pug can connect to this channel
Blue team - only members in the blue team can join it. When a match starts, the players in the blue team who are connected to a voice channel will be moved into this channel.
Orange team - same as blue team except... orange
When a match ends, players connected to the team channels will be automatically moved back to the lobby, and the team channels will be locked again.
This is a voice manager for R6Pugs. It manages the creation, deletion and permissions management of voice channels as well as moving members into the right channels at the right time.
Right now, four channels are created when a pug is started. They are also deleted when a pug is ended:
When a match ends, players connected to the team channels will be automatically moved back to the lobby, and the team channels will be locked again.