Skip to content

$isSelfDeafened

$isSelfDeafened is similar but not to confuse with $isDeafen this will check if the user deafened themselves.

Usage

$isSelfDeafened[userID?;guildID?]

Parameters

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

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