music: fix missed await

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:07:27 -07:00
parent 635a9c9514
commit f4376e7c34

View file

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