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

View File

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