music: fix missed await

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:07:27 -07:00
parent 635a9c9514
commit f4376e7c34
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ async function createVoiceConnection(guild_id, voice_id, text_id) {
text_id,
};
state.connection = hf.bot.joinVoiceChannel(voice_id, {
state.connection = await hf.bot.joinVoiceChannel(voice_id, {
selfDeaf: true,
selfMute: false,
});