Discord seems to have rolled out the voice regions update to most servers now, meaning this bot no longer functions properly for most servers.
Once the library that the bot relies on (discord.js) adds support for channel regions in a "stable" release, I'll update the bot.
At the moment there are a few changes I have in mind:
Permissions update: Having the "Manage Channels" permission will allow the user to update voice regions
I may also remove the "Manage Server" permission being allowed, but not sure yet.
Commands update: Extra options to allow to reset the region back to "Automatic" (which means Discord will decide what's "best").
At the moment I'm thinking something like: !v automatic, !v auto, !v none - including short aliases &auto and &none.
There also needs to be a way of detecting what voice channel that should be updated. The easiest I can see at the moment is the following:
Check if the user executing the command is connected to a voice channel in the server, update region for that.
Allow user to specify a voice channel name (even partial name).
If multiple channels match a partial name, just post an error message saying something like: Multiple channels found matching `partial name`: <List of channels>
Format would probably be something like: !v us-west <partial name here>
"Name matching" (both partial and 'full name' voice channels, by specifying it after the command. Users have to be connected to a voice channel to use the bot.
Checking permissions based on per-category or per-channel overrides. At the moment the bot only checks the Guild/Server permissions for the user.
Discord seems to have rolled out the voice regions update to most servers now, meaning this bot no longer functions properly for most servers.
Once the library that the bot relies on (discord.js) adds support for channel regions in a "stable" release, I'll update the bot.
At the moment there are a few changes I have in mind:
!v automatic
,!v auto
,!v none
- including short aliases&auto
and&none
.There also needs to be a way of detecting what voice channel that should be updated. The easiest I can see at the moment is the following:
Multiple channels found matching `partial name`: <List of channels>
!v us-west <partial name here>
&use <partial name here>