diff --git a/Xiao.js b/Xiao.js index 21405c15..228a2f5f 100644 --- a/Xiao.js +++ b/Xiao.js @@ -72,7 +72,7 @@ client.registry ]) .registerCommandsIn(path.join(__dirname, 'commands')); -client.on('ready', async () => { +client.on('clientReady', async () => { client.logger.info(`[READY] Logged in as ${client.user.tag}! ID: ${client.user.id}`); // Make temp directories diff --git a/framework/Client.js b/framework/Client.js index 78ddf107..cc48fd88 100644 --- a/framework/Client.js +++ b/framework/Client.js @@ -21,7 +21,7 @@ module.exports = class CommandClient extends Client { this.blacklist = { user: [], guild: [] }; this._throttlingTimeouts = new Map(); - this.once('ready', this.onceReady); + this.once('clientReady', this.onceReady); this.on('messageCreate', this.onMessage); }