$isVoice
$isVoice
will check if the given channel is a voice channel or not.
Usage
$isVoice[channelID]
Parameters
Field | Type | Description | Required |
---|---|---|---|
channelID | number | ID 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:
1client.command({2 name: "isVoice",3 code: `4 $isVoice[$channelID]5 `6});