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

Payload for member edit #1122

Merged
merged 10 commits into from Apr 4, 2022

Conversation

Jarvvski
Copy link
Contributor

@Jarvvski Jarvvski commented Mar 5, 2022

When editing a guild member, you can do much more than just update their roles, i.e. their nickname

Discord docs

This change the method signature to expose a payload struct devs can use to set what they want to change on the member. We ommit any value from the future json payload if it was not set

@FedorLap2006 FedorLap2006 added the breaking changes Contains breaking changes. Should be reflected in the changelog label Mar 5, 2022
restapi.go Outdated Show resolved Hide resolved
structs.go Outdated Show resolved Hide resolved
structs.go Outdated Show resolved Hide resolved
structs.go Outdated Show resolved Hide resolved
restapi.go Outdated Show resolved Hide resolved
restapi.go Outdated Show resolved Hide resolved
@FedorLap2006 FedorLap2006 added this to the v0.25.0 milestone Apr 3, 2022
@FedorLap2006 FedorLap2006 removed the breaking changes Contains breaking changes. Should be reflected in the changelog label Apr 4, 2022
@FedorLap2006 FedorLap2006 merged commit c3c6c1b into bwmarrin:master Apr 4, 2022
@FedorLap2006
Copy link
Collaborator

Thanks for your contribution!

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.

None yet

2 participants