6 Replies
b1nzee
b1nzee2y 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 !
Amin ۞
Amin ۞OP2y ago
forgot to remove the not lets wish it works now imma test it lol
b1nzee
b1nzee2y ago
the whole statement is redundant regardless, there is an event listener for when a cooldown is triggered
Amin ۞
Amin ۞OP2y 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
b1nzee2y ago
probably MessageCommandDenied, I could be wrong
Amin ۞
Amin ۞OP2y ago
I think i got it
Want results from more Discord servers?
Add your server