Random chance role.
Hi. I'm stuck on script as idk how to correctly write it to do what I want. Currently stuck on line 32 where I need to check if a member that just posted the message ".role" has the default role with that id. If yes continue with the script, remove the default role and assign a different one.

3 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 OP
ohhhhh thanks so much. I've been banging my head at this wall for few hours lol