$isTimeout
$isTimeout
will check if the user is timeouted 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 timeouted in. | false |
userID? | number | The ID of the user that’s timeouted. | false |
Example(s)
This will check if you’re timeouted and either return true
or false
:
1client.command({2 name: "isTimeout",3 code: `4 $isTimeout[$guildID;$authorID]5 `6});