JDA icon indicating copy to clipboard operation
JDA copied to clipboard

Allow to set voice channel region with channel.createCopy() and guild.createVoiceChannel()

Open Giuliopime opened this issue 2 years ago • 0 comments

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
}

Giuliopime avatar Aug 09 '22 10:08 Giuliopime