Skip to content

$isGuildDeafened

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

Usage

$isGuildDeafened[userID?;guildID?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe ID of the user you want to check if they’re server deafened.false
guildID?numberThe ID of the guild where they’re server deafened in.false

Example(s)

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

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