$joinVC
$joinVC will make your bot join a specified voice channel.
Usage
$joinVC[voiceID?;mute?;deafen?;guildId?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| voiceID? | snowflake | Voice channel ID | false |
| mute? | boolean | Set mute state | false |
| deafen? | boolean | Set deafen state | false |
| guildId? | snowflake | Guild ID | false |
You require intents: ["GuildVoiceStates"] in your main file.
Example(s)
This will make your bot join a specified voice channel
1client.command({2 name: 'join',3 code: `4 joined!5 $joinVC[$voiceID]6 `7});This will make your bot join a specified voice channel
1module.exports = [{2 name: "join",3 code: `4 joined!5 $joinVC[$voiceID]6 `7}]