#Get All Users with a Role then If it doesnt match a certain custom status ex. .gg/, it removes it
5 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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!
since there isn't really a means of batch removing a role from X members, this sounds like it could be potentially spammy
despite the fact that this feature sounds incredibly pointless, you should at least consider handling it on presenceUpdate rather than all at once
beyond that
<GuildMember>.presence.activities is an array of a member's activities
custom statuses are activities of type ActivityType.Custom
and you can remove a role with <GuildMember>.roles.remove()
Presence#activities
The activities of this presence