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

discord_modify_channel rtc_region issue #138

Open
false opened this issue Feb 7, 2023 · 2 comments
Open

discord_modify_channel rtc_region issue #138

false opened this issue Feb 7, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@false
Copy link

false commented Feb 7, 2023

Hello,

Using discord_modify_channel results in the following error :
[31mERROR�[0m �[90mdiscord-rest_request.c:391:�[0m [DISCORD_REQUEST] {"code": 50035, "errors": {"rtc_region": {"_errors": [{"code": "BASE_TYPE_CHOICES", "message": "Value must be one of ('brazil', 'hongkong', 'india', 'japan', 'rotterdam', 'russia', 'singapore', 'south-korea', 'southafrica', 'sydney', 'us-central', 'us-east', 'us-south', 'us-west')."}]}}, "message": "Invalid Form Body"}

It happens when I want to rename a discord channel. The channel doesn't get renamed, the request fails.

It doesn't work on the the version 2.1.0, 2.2.0, and the current master branch.

Do you observe the same issue ?

Thanks,

@false false added the bug Something isn't working label Feb 7, 2023
@false false changed the title discord_modify_channel issue discord_modify_channel rtc_region issue Feb 7, 2023
@false
Copy link
Author

false commented Feb 7, 2023

Adding .rtc_region = "rotterdam" to the modify params seems to solve my issue. But isn't it a strange behaviour as it is a text channel ?

@ThePedroo
Copy link
Contributor

Could you show your http log without setting a region?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants