Loop for bot role has
The problem is that even when bots are in the server having the role, it completely skips the condition and array will be empty
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!
- ✅
Marked as resolved by OP
Tried this too but, doesn't work
Hmm when did that happen? Something like this loop worked around 1 month ago. Lemme try what you said now.
Well, it works. Thanks