Fixing async functions

This commit is contained in:
Logan Cusano
2023-03-26 01:07:30 -04:00
parent 184458608d
commit a8be6598f2
2 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,7 @@ export default async function join({interaction= undefined, guildID= undefined,
selfDeaf: false,
});
const audioInstance = createAudioInstance();
const audioInstance = await createAudioInstance();
audioInstance.on('data', buffer => {
buffer = Buffer.from(buffer);