$joinVC
$joinVC
will make your bot join a specified voice channel.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
voiceID? | number | voice channel id | false |
selfDeaf? | string | deafen when joining Voice Channel 1. yes (default) 2. no | false |
selfMute? | string | mute when joining Voice Channel 1. no (default) 2. yes | false |
speaker? | string | become speaker when joining Stage Channel 1. yes (default) 2. no | false |
audioPlayerType? | string | audio Player Type 1. default (default) | false |
debug? | string | enable 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: