mirror of
https://github.com/danbulant/discord.js
synced 2026-05-30 12:51:55 +00:00
Rename ShardingManager#launch event to shardCreate
This commit is contained in:
parent
c6244ee6e1
commit
0d188c0fba
1 changed files with 2 additions and 2 deletions
|
|
@ -94,10 +94,10 @@ class ShardingManager extends EventEmitter {
|
|||
this.shards.set(id, shard);
|
||||
/**
|
||||
* Emitted upon creating a shard.
|
||||
* @event ShardingManager#launch
|
||||
* @event ShardingManager#shardCreate
|
||||
* @param {Shard} shard Shard that was created
|
||||
*/
|
||||
this.emit('launch', shard);
|
||||
this.emit('shardCreate', shard);
|
||||
return shard;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue