change leave to disconnect

This commit is contained in:
Lukáš Horáček 2020-04-12 11:31:58 +02:00
parent cc1d4bebb8
commit bc61253348
No known key found for this signature in database
GPG key ID: E07D6630DBC17195

View file

@ -146,7 +146,7 @@ module.exports = client => {
} else {
guild.dispatcher = null;
connection.leave();
connection.disconnect();
};
});
};