$changeCooldownTime
Changes the cooldown metrics. These can be used in cooldown error messages. It can be useful for translations.
Syntax
$changeCooldownTime[Days;Hours;Minutes;Seconds]
Parameters
Days
(Type: String || Flag: Required)
: The text to replace ‘Days’ with.Hours
(Type: String || Flag: Required)
: The text to replace ‘Hours’ with.Minutes
(Type: String || Flag: Required)
: The text to replace ‘Minutes’ with.Seconds
(Type: String || Flag: Required)
: The text to replace ‘Seconds’ with.
Sub-functions
Name | Type |
---|---|
%time-d% | Day |
%time-h% | Hour |
%time-m% | Minute |
%time-s% | Second |
Example
$nomention
Hello $displayName!
$changeCooldownTime[Days⏰;Hours⏰;Mins🕧;Secs🕧]
$cooldown[10m;Please wait %time-m%!]