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
d.js toolkit
d.js toolkit2y ago
• 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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server