$getCooldownTime
$getCooldownTime
will return the cooldown time of a given command.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
time | string | The time of the cooldown. | true |
type | string | Cooldown type 1. globalUser 2. user 3. server 4. channel 5. static | true |
command | string | Command name. | true |
id | number | User/guild/channel/message ID. | true |
Example(s)
This will return the remaining cooldown of the “getCooldownTime” command: