$isTimeout
$isTimeout
will check if the user is timed out with Discord’s built-in timeout feature.
Usage
$isTimeout[guildID?;userID?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
guildID? | number | The ID of the guild where they’re timed out in. | false |
userID? | number | The ID of the user that’s timed out. | false |
Example(s)
This will check if you’re timed out and either return true
or false
:
1client.command({2 name: "isTimeout",3 code: `4 $isTimeout[$guildID;$authorID]5 `6});