$isDeafen
$isDeafen will check if a certain user is deafened or not.
Usage
$isDeafen[userID?;guildID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| userID? | number | User ID you want to check if they’re deafened, | false |
| guildID? | number | The guild ID where you want to check if they’re deafened. | false |
Example(s)
This will return false or true depending on if you’re currently deafened or not:
1client.command({2 name: "isDeafen",3 code: `4 $isDeafen[$authorID;$guildID]5 `6});