Fixed update event not being emited when checkUpdate being disabled

This commit is contained in:
kb 2023-05-22 13:46:36 +02:00 committed by GitHub
parent 31d6682646
commit d28d20f990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,7 +86,7 @@ module.exports = async (client, { d: data }, shard) => {
}
});
if (client.options.checkUpdate) {
if (client.options.checkUpdate === false) {
client.checkUpdate();
}