How to tell if I'm hitting Discord's rate limit
As asked - my code is hanging up on creating a role after having created a few roles already - is this normal behavior for rate limiting? I would have thought it would throw an error if I were being limited.
The same piece of code sometimes works to create a role and othertime just hangs - its like the await promise is never returning when I call
guild.roles.create
2 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.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View