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

View File

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