$isMuted
$isMuted will check if a specific user is muted within a voice channel.
Usage
$isMuted[userID?;guildID?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| userID | number | ID of the user you want to check if they’re muted. | true |
| guildID? | number | ID of the guild where the user is muted in. | true |
Example(s)
This will check if you’re currently muted in a voice channel and returns either true or false:
1client.command({2 name: "isMuted",3 code: `4 $isMuted[$authorID;$guildID]5 `6});