music: fix missed await
This commit is contained in:
parent
635a9c9514
commit
f4376e7c34
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue