function join(channelId, guild) {
  const connection = joinVoiceChannel({
    channelId: channelId,
    guildId: guild.id,
    adapterCreator: guild.voiceAdapterCreator,
  });
  return connection;
}
/**
 * Join a voice channel.
 * @param {string} channelId - ID of voice channel to join
 * @param {Guild} guild - guild the voice channel belongs to
 * @returns {VoiceConnection} Voice connection
 */
Join a voice channel.
@param {string} channelId - ID of voice channel to join
@param {Guild} guild - guild the voice channel belongs to
@returns {VoiceConnection} Voice connection
Join a voice channel . @param { string } channelId - ID of voice channel to join @param { Guild } guild - guild the voice channel belongs to @returns { VoiceConnection } Voice connection
function join(channelId, guild) {
  const connection = joinVoiceChannel({
    channelId: channelId,
    guildId: guild.id,
    adapterCreator: guild.voiceAdapterCreator,
  });
  return connection;
}
function join ( channelId , guild ) { const connection = joinVoiceChannel ( { channelId : channelId , guildId : guild . id , adapterCreator : guild . voiceAdapterCreator , } ) ; return connection ; }
Join a voice channel.
Join a voice channel .