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