Automatically disable voice commands if Lavalink is missing
This commit is contained in:
parent
63277d9855
commit
7dbf6fdf2a
14 changed files with 44 additions and 13 deletions
|
@ -129,7 +129,7 @@ module.exports = async () => {
|
|||
});
|
||||
};
|
||||
|
||||
await soundPlayer.connect();
|
||||
if (!soundPlayer.status) await soundPlayer.connect();
|
||||
|
||||
// tweet stuff
|
||||
if (twitter !== null && twitter.active === false) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue