6 Replies
b1nzee
b1nzee3y 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 𐤀OP3y ago
forgot to remove the not lets wish it works now imma test it lol
b1nzee
b1nzee3y ago
the whole statement is redundant regardless, there is an event listener for when a cooldown is triggered
Amin 𐤀
Amin 𐤀OP3y 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
b1nzee3y ago
probably MessageCommandDenied, I could be wrong
Amin 𐤀
Amin 𐤀OP3y ago
I think i got it

Did you find this page helpful?