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

Change parentId and lockPermissionsToParent to Optionals #828

Conversation

Tmpod
Copy link
Contributor

@Tmpod Tmpod commented May 10, 2023

The documentation was incorrect regarding these fields' optionality, and as such it was impossible to swap multiple channels in one request. By changing these fields to Optionals (like position already was), this issue is fixed.

Closes #827

@Tmpod
Copy link
Contributor Author

Tmpod commented May 10, 2023

Always forget API changes... 🙃

The documentation was incorrect regarding these fields' optionality, and
as such it was impossible to swap multiple channels in one request.
By changing these fields to Optionals (like `position` already was),
this issue is fixed.

Closes kordlib#827
@Tmpod Tmpod force-pushed the task/827/channel-position-request-optional-fields branch from ca39c2a to 0b0b734 Compare May 10, 2023 14:41
Copy link
Member

@lukellmann lukellmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks :)

@lukellmann lukellmann merged commit b19fe2e into kordlib:0.9.x May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GuildBehaviour#swapChannelPositions yields a 400 with more than one swap
2 participants