Slash Commands Cooldowns
Hi, I just followed the guide for the cooldown but I get errors.
21 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ā¢3y ago
Message Not Public
Sign In & Join Server To View
1 sec
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
at the index
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
I have this
command.execute(interaction, client)Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
im passing it
let me check
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
Unknown Userā¢3y ago
Message Not Public
Sign In & Join Server To View
You mean like this?
okey yeah
but thge cooldowns doesn't work
idk why xd
To help you we need more information:
- What are you trying to do?
- What is your code?
- What errors and debug logs do you have?
yeah okey let me explain
I just done the changes you told me sir, but the cooldowns doesn't tkae effect. I mean, by following the steps at the guide and the corrections still doesn't work
Last code: https://sourceb.in/JE79pbEVdu
so I switch the checks
thanks
Still doesn't get it
I moved the check upper to return if the user is at a cooldown and still doesn't work