mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
ready -> clientReady
This commit is contained in:
@@ -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
|
||||
|
||||
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user