Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Per-Channel Regions #5

Description

@Decicus

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>
    • Or alternatively: &use <partial name here>

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions