diff --git a/modules/announcer/index.js b/modules/announcer/index.js index 847f003..171cd28 100644 --- a/modules/announcer/index.js +++ b/modules/announcer/index.js @@ -8,8 +8,9 @@ module.exports = function (bot, api) { const channel = oldState.channel || newState.channel; if (!channel) return; if (channel.members.size < 2) { - await api.leaveChannel(channel); api.AudioQueue.flush(); + await api.leaveChannel(channel); + } await api.joinChannel(channel); let joined = false;