To avoid having so many unused channels, perhaps we can have the bot create new channels as the previous one has connections.
So imagine Star Citizen with a [SC] Public channel. Once someone connects to it, the bot could then create a second [SC] Public 2 channel so that there's room for a new conversation.
Then, when someone disconnects, the bot could check the channel they disconnected from, if its in the list of "temporary" channels, we check if its empty, and if empty we delete it.
In terms of permissions, we could also setup default opsec roles to another group of channels so that [SC] Opsec channels can also be created on demand.
By doing this we could avoid having so many different channels always there and always empty. New channels can be spooled up as necessary and then it goes back to a cleaner state.
This could also gives us an option of giving more people the power of setting channel titles, so that they could describe the activity they are doing in the channel.
There is an event triggered when someone changes their voice status: https://discordpy.readthedocs.io/en/stable/api.html#discord.on_voice_state_update
To avoid having so many unused channels, perhaps we can have the bot create new channels as the previous one has connections.
So imagine Star Citizen with a
[SC] Publicchannel. Once someone connects to it, the bot could then create a second[SC] Public 2channel so that there's room for a new conversation.Then, when someone disconnects, the bot could check the channel they disconnected from, if its in the list of "temporary" channels, we check if its empty, and if empty we delete it.
In terms of permissions, we could also setup default opsec roles to another group of channels so that
[SC] Opsecchannels can also be created on demand.By doing this we could avoid having so many different channels always there and always empty. New channels can be spooled up as necessary and then it goes back to a cleaner state.
This could also gives us an option of giving more people the power of setting channel titles, so that they could describe the activity they are doing in the channel.
There is an event triggered when someone changes their voice status: https://discordpy.readthedocs.io/en/stable/api.html#discord.on_voice_state_update