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
1 changed files with 1 additions and 1 deletions

View File

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