Gods this thing is so rickety

This commit is contained in:
2023-03-21 19:54:59 +01:00
parent b964f4acfd
commit a0c4630bed
3 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ module.exports = function (bot, api) {
if (!oldState.channel) {
joined = true;
let conn=api.getConnectionForVoiceChannel(channel);
api.queue=new AudioQueue(conn, api);
if (!api.queue) api.queue=new AudioQueue(conn, api);
}
let username = newState.member.displayName;