Skip to content

$joinVC

$joinVC will make your bot join a specified voice channel.

Usage

$joinVC[voiceID?;selfDeaf?;selfMute?;speaker?;audioPlayerType?;debug?]

Parameters

FieldTypeDescriptionRequired
voiceID?numbervoice channel idfalse
selfDeaf?stringdeafen when joining Voice Channel
1. yes (default)
2. no
false
selfMute?stringmute when joining Voice Channel
1. no (default)
2. yes
false
speaker?stringbecome speaker when joining Stage Channel
1. yes (default)
2. no
false
audioPlayerType?stringaudio Player Type
1. default (default)
false
debug?stringenable debug (not recommended)
1. no (default)
2. yes
false

You require intents: ["GuildVoiceStates"] in your main file.

Example(s)

This will make your bot join the voice channel you’re currently in:

1
client.command({
2
name: "joinVC",
3
code: `
4
$joinVC[$voiceID;yes;no;yes;default;no]
5
`
6
});