mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
docs(sharding): ShardingManager#createShard doesn't spawn the s… (#3875)
* Fixed createShard() to show an example! * docs(ShardingManager): clarify createdShard docs * docs(Shard): clarify manager parameter * docs(ShardingManager): use an info tag for createShard's param Co-Authored-By: Sugden <28943913+NotSugden@users.noreply.github.com> Co-authored-by: SpaceEEC <spaceeec@yahoo.com> Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com>
This commit is contained in:
@@ -15,7 +15,7 @@ let Worker = null;
|
||||
*/
|
||||
class Shard extends EventEmitter {
|
||||
/**
|
||||
* @param {ShardingManager} manager Manager that is spawning this shard
|
||||
* @param {ShardingManager} manager Manager that is creating this shard
|
||||
* @param {number} id ID of this shard
|
||||
*/
|
||||
constructor(manager, id) {
|
||||
|
||||
Reference in New Issue
Block a user