Fixed update event not being emited when checkUpdate being disabled
This commit is contained in:
parent
31d6682646
commit
d28d20f990
@ -86,7 +86,7 @@ module.exports = async (client, { d: data }, shard) => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (client.options.checkUpdate) {
|
if (client.options.checkUpdate === false) {
|
||||||
client.checkUpdate();
|
client.checkUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user