mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
Update sharder.js
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user