Skip to content

$isSelfMuted

$isSelfMuted is similar but not to confuse with $isMuted this will check if the user muted themselves.

Usage

$isSelfMuted[userID?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberID of the user you want to check if they’re muted.false
guildID?numberID 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:

1
client.command({
2
name: "isSelfDeafened",
3
code: `
4
$isSelfDeafened
5
`
6
});