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