Checking if a connection is already established.

Hey there, I was just wondering if I should be checking if the bot already has an established connection before running the below code:
joinVoiceChannel({
                channelId: channelId,
                guildId: interaction.guild.id,
                adapterCreator: interaction.guild.voiceAdapterCreator,
                selfDeaf: false
            });

I'm mainly curious to know if there is any performance issues by not checking first, or if adding checking would add performance issues. Just trying to optimize things with my bot :)
Was this page helpful?