Skip to content

$isVoice

$isVoice will check if the given channel is a voice channel or not.

Usage

$isVoice[channelID]

Parameters

FieldTypeDescriptionRequired
channelIDnumberID of the channel that you want to check if it’s a Voice Channel.true

Example(s)

This will return either true or false depending on what you use as argument:

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