Would this work?

6 Replies
b1nzee
b1nzee11mo ago
You tell me, did it work? We aren't debuggers But, no. No, that won't work. You're extending the Command class, so you can access your CommandOptions using this And the messageRun method won't execute if the cooldown is hit. And the === null is redudant as you are using the not operator !
Amine
Amine11mo ago
forgot to remove the not lets wish it works now imma test it lol
b1nzee
b1nzee11mo ago
the whole statement is redundant regardless, there is an event listener for when a cooldown is triggered
Amine
Amine11mo ago
I tried finding it in the Event listeneres i didn't find a match can u show me a reference from the guide or the docs? cooldownLimit?
b1nzee
b1nzee11mo ago
probably MessageCommandDenied, I could be wrong
Amine
Amine11mo ago
I think i got it