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