mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
6 lines
175 B
JavaScript
6 lines
175 B
JavaScript
const Discord = require('../');
|
|
|
|
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, 5);
|
|
|
|
sharder.on('launch', id => console.log(`launched ${id}`));
|