adamschachne / inhouse_bot

A Discord bot to handle League of Legends in-house games.
GNU General Public License v3.0
2 stars 2 forks source link

Auto-move game participants into their team's voice channel #32

Open adamschachne opened 2 years ago

adamschachne commented 2 years ago

The bot would need need certain permissions to be able to do this. It could get the ball rolling on a game faster, and, with the addition of voice text channels to Discord, there could be extra integrations such as sending a code or link into that channel.

Is this a good idea?

classBabacar commented 2 years ago

so not sure if you seen this side of the code but its actually already a thing in the code if you do: !admin config voice on I think when there are 10 people in the queue it will make the 2 private voice channels and with the base permissions the bot has access to do this I think

adamschachne commented 2 years ago

Yea, but there is nothing in place to move them into those channels. Although, an important precondition is that they're in some voice channel to begin with.

classBabacar commented 2 years ago

Hmm One way I am thinking about is just have the bot iterate through all the channels but that seems really bad from a security standpoint

But yea the precondition or assumption is everyone will be in General, so you can just move em and thats more moral or whatever