Reply During Cooldown

Can I make the bot reply with the remaining time of cooldown delay ?
Solution:
but if you wanna specifically get the remaining time:
Reflect.get(Object(context), 'remaining');
Reflect.get(Object(context), 'remaining');
...
Jump to solution
5 Replies
Auric
Auric2y ago
when the command gets denied, you should check if the identifier is equal to preconditionCooldown
Solution
Auric
Auric2y ago
but if you wanna specifically get the remaining time:
Reflect.get(Object(context), 'remaining');
Reflect.get(Object(context), 'remaining');
Auric
Auric2y ago
assuming you have context defined from the command denied event
Favna
Favna2y ago
Marked as answered because that's correct
ItaChi
ItaChiOP2y ago
Thx 🤍
Want results from more Discord servers?
Add your server