mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
feat(Client): add conditional ready typings (#6073)
This commit is contained in:
@@ -373,8 +373,9 @@ class WebSocketManager extends EventEmitter {
|
||||
/**
|
||||
* Emitted when the client becomes ready to start working.
|
||||
* @event Client#ready
|
||||
* @param {Client} client The client
|
||||
*/
|
||||
this.client.emit(Events.CLIENT_READY);
|
||||
this.client.emit(Events.CLIENT_READY, this.client);
|
||||
|
||||
this.handlePacket();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user