Together-Java / TJ-Bot

TJ-Bot is a Discord Bot used on the Together Java server. It is maintained by the community, anyone can contribute.
https://togetherjava.org
GNU General Public License v3.0
98 stars 82 forks source link

Dynamically create and delete voice channels based on activity #1113

Open christolis opened 1 month ago

christolis commented 1 month ago

Is your feature request related to a problem? Please describe. Lately, the community has been more active in both text channels and in voice channels, and a noticeable problem that community members have stumbled upon is the fact that voice channels get frequently full, to the point where multiple discussion topics tend to be discussed in the same channel, leading to people moving to off-topic voice channels (like Gaming, Chit Chat, or even java-21-launch) which does in fact work for the most part but it clearly highlights a demand for more voice channels of the same topic.

Describe the solution you'd like One way to counteract this issue is to dynamically create and delete voice channels with the same name based on the amount of members connected to a voice channel with a particular topic. The overall goal should be to always have one empty voice channel per topic. For instance, if a member connects to a voice channel called Support/Studying Room, a new voice channel with the same name and its number concatenated should be created right under the original text channel. If any member disconnects from a particular voice channel and it is detected that it is now empty, it should be deleted.

Additional context Inspired from this server suggestion from the community.