Cooldown Message

Is there a way to display a custom cooldown message after a cooldown limit is reached?
Solution:
TL;DR: see https://www.sapphirejs.dev/docs/Guide/preconditions/reporting-precondition-failure, get the remaining amount from error.context. Then send custom messages.
Jump to solution
5 Replies
Spinel
Spinel2y ago
<:_:746069730170896405> Sapphire guide results: Preconditions / Reporting precondition failure
Favna
Favna2y ago
Also if you use the website search and enter "cooldown" it'll list various relevant interfaces. It's always a good idea to first do some searching yourself. Also this question has been asked many many times. Granted it may have been the first in new support but if then search cooldown in #old-sapphire-support there is loads.
Solution
Favna
Favna2y ago
TL;DR: see https://www.sapphirejs.dev/docs/Guide/preconditions/reporting-precondition-failure, get the remaining amount from error.context. Then send custom messages.
THUNDERWANG
THUNDERWANGOP2y ago
Got it thanks! Didn't realize I should search #old-sapphire-support too!
Favna
Favna2y ago
It was around for over a year so it has a wealth of information, which is also why we kept it and didn't delete it. I guess that's not specified anywhere hmm... Maybe I should add that to welcome or post guidelines.
Want results from more Discord servers?
Add your server