Merge pull request #667 from kbd0t/main

Fixed update event not being emitted when options.checkUpdate is disabled
This commit is contained in:
Elysia 2023-05-22 18:56:00 +07:00 committed by GitHub
commit 4b329c8105
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();
}