Slash Command Cooldowns are not working
I can still use commands like
/help
consecutively even when I have the cooldown set to 3000 seconds (to test).
As you can see I am logging and it logs up until expirationTime
that one does not log. just timestamp
and cooldownAmount
.
That's how those log. Not sure why.4 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.You are assigning a new collection each time a command runs?
Bc if you are
You are resetting all the cooldowns
Each time a command is run
That was it. THank you!
Np