mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(Shard): Point to correct events (#6641)
This commit is contained in:
@@ -311,7 +311,7 @@ class Shard extends EventEmitter {
|
||||
if (message._ready) {
|
||||
this.ready = true;
|
||||
/**
|
||||
* Emitted upon the shard's {@link Client#ready} event.
|
||||
* Emitted upon the shard's {@link Client#event:shardReady} event.
|
||||
* @event Shard#ready
|
||||
*/
|
||||
this.emit('ready');
|
||||
@@ -322,7 +322,7 @@ class Shard extends EventEmitter {
|
||||
if (message._disconnect) {
|
||||
this.ready = false;
|
||||
/**
|
||||
* Emitted upon the shard's {@link Client#disconnect} event.
|
||||
* Emitted upon the shard's {@link Client#event:shardDisconnect} event.
|
||||
* @event Shard#disconnect
|
||||
*/
|
||||
this.emit('disconnect');
|
||||
@@ -333,7 +333,7 @@ class Shard extends EventEmitter {
|
||||
if (message._reconnecting) {
|
||||
this.ready = false;
|
||||
/**
|
||||
* Emitted upon the shard's {@link Client#reconnecting} event.
|
||||
* Emitted upon the shard's {@link Client#event:shardReconnecting} event.
|
||||
* @event Shard#reconnecting
|
||||
*/
|
||||
this.emit('reconnecting');
|
||||
|
||||
Reference in New Issue
Block a user