Merge pull request #667 from kbd0t/main
Fixed update event not being emitted when options.checkUpdate is disabled
This commit is contained in:
commit
4b329c8105
@ -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