Skip to content

Commit

Permalink
docs(Shard): Point to correct events (#6641)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiralite committed Sep 23, 2021
1 parent 5d87398 commit b9a4899
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sharding/Shard.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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');
Expand All @@ -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');
Expand Down

0 comments on commit b9a4899

Please sign in to comment.