Automatically disable voice commands if Lavalink is missing

This commit is contained in:
TheEssem 2020-06-27 16:34:31 -05:00
parent 63277d9855
commit 7dbf6fdf2a
14 changed files with 44 additions and 13 deletions

View file

@ -129,7 +129,7 @@ module.exports = async () => {
});
};
await soundPlayer.connect();
if (!soundPlayer.status) await soundPlayer.connect();
// tweet stuff
if (twitter !== null && twitter.active === false) {