Skip to content

$isDeafen

$isDeafen will check if a certain user is deafened or not.

Usage

$isDeafen[userID?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberUser ID you want to check if they’re deafened,false
guildID?numberThe guild ID where you want to check if they’re deafened.false

Example(s)

This will return false or true depending on if you’re currently deafened or not:

1
client.command({
2
name: "isDeafen",
3
code: `
4
$isDeafen[$authorID;$guildID]
5
`
6
});