In the GuildMemberRemove event, are the cached roles of the guild member all there?
Do I have that guarantee that when the
GuildMemberRemove
event fires that the <GuildMember>
from the parameter has all the roles that they had right before leaving? If not, when are their roles cached exactly?2 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!One more question while your here, where can I read more about how discord.js caching works?