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

Provide previous Member state for GuildMemberUpdate events #1304

Merged

Conversation

yannismate
Copy link
Contributor

Hey! I'm currently using this package in a personal project and wanted to track member role changes.
Since the old state of the Member is currently not part of the GuildMemberUpdate, I've simply added it similar to how it was done for other events like ThreadUpdate or MessageUpdate.

Fixes #1200

@FedorLap2006 FedorLap2006 merged commit f184824 into bwmarrin:master Dec 27, 2022
@FedorLap2006
Copy link
Collaborator

Thanks for your contribution!

ryanblenis pushed a commit to ryanblenis/discordgo that referenced this pull request Dec 5, 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.

BeforeUpdate is missing for GuildMemberUpdate
2 participants