in my code while using joinvoicechannel function it asks for channel id is there any way so that i do not need to put my id mannually see the code for refrence
const { SlashCommandBuilder } = require('discord.js');
const { joinVoiceChannel } = require('@discordjs/voice');
module.exports = {
data: new SlashCommandBuilder()
.setName('join')
.setDescription('join voice channel in which you are'),
async execute(interaction) {
const voiceChannel = interaction.options.getChannel('channel')
const connection = joinVoiceChannel({
channelId: "1086434561640108086",
guildId: interaction.guild.id,
adapterCreator: interaction.guild.voiceAdapterCreator,
});
}
}