From f4376e7c349b35072ee55df0d0d533412cd2705a Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Sat, 21 Jan 2023 22:07:27 -0700 Subject: [PATCH] music: fix missed await --- src/modules/music.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/music.js b/src/modules/music.js index acef529..d717cbd 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -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, });