JDA
JDA copied to clipboard
Allow to set voice channel region with channel.createCopy() and guild.createVoiceChannel()
General Troubleshooting
- [X] I have checked for similar issues on the Issue-tracker.
- [X] I have updated to the latest JDA version
- [X] I have checked the branches or the maintainers' PRs for upcoming features.
Feature Request
JDA should permit to set the voice channel region on channel creation, instead of having to create it, then get the manager with getManager() and set the region from there. This would mean having to do 2 requests to Discord instead of one.
Example Use-Case
public void copyVcWithRegion(VoiceChannel channel) {
channel.createCopy().setRegion(...region).queue()
// It's not possible to do this right now
}