$isSelfDeafened
$isSelfDeafened is similar but not to confuse with $isDeafen this will check if the user deafened themselves.
Usage
$isSelfDeafened[userID?;guildID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| userID? | number | ID of the user you want to check if they’re deafened. | false |
| guildID? | number | ID of the guild where they’re deafened in. | false |
Example(s)
This will return either true or false depending on if you’re deafened or not:
1client.command({2 name: "isSelfDeafened",3 code: `4 $isSelfDeafened5 `6});