mirror of
https://github.com/danbulant/discord.js
synced 2026-06-18 22:21:17 +00:00
Update sharder.js
This commit is contained in:
parent
09489e2b9f
commit
2ff1f3dcde
1 changed files with 1 additions and 1 deletions
|
|
@ -2,6 +2,6 @@ const Discord = require('../');
|
|||
|
||||
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, 5, false);
|
||||
|
||||
sharder.on('launch', id => console.log(`launched ${id}`));
|
||||
sharder.on('launch', shard => console.log(`launched ${shard.id}`));
|
||||
|
||||
sharder.spawn(5);
|
||||
|
|
|
|||
Loading…
Reference in a new issue