Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
Giuliopime opened this issue Aug 9, 2022 · 0 comments · Fixed by #2209
Closed
3 tasks done

Comments

@Giuliopime
Copy link
Contributor

General Troubleshooting

  • I have checked for similar issues on the Issue-tracker.
  • I have updated to the latest JDA version
  • 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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants