Detecting role removal
When role is removed, it should be logged in the console. However, it only works if the role i remove the role of myself, not if i remove it from someone else.
5 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.You may need partials since the event may not emit on uncached members
It worked on you because you were cached at the time, but it's not working on others since they were uncached
Ahh, makes sense. Thank you!
It would be the
GuildMember
partial, right?I would assume so