Will a Product Purchase That Gives a Member a Role Emit the GuildMemberUpdate Event?
If a member buys a server product, I want to confirm that the GuildMemberUpdate event will emit if they get the product's role
5 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- β
Marked as resolved by OPif their roles changed, I believe an GuildMemberUpdate will be fired
I just want to make sure it will emit even with the new server products feature. Else I'm going to have unhappy customers
As long as you have proper intents, it should
it might not emit for members that are not cached on start, you would either have to fetch all members on ready or use partial structures, but the last one will make the oldmember to have nulled properties (be a partial)