eipi10
0
Q:

how to shard a discord bot

const Discord = require('discord.js');
const Manager = new Discord.ShardingManager('./YOUR_BOT_FILE_NAME.js');
Manager.spawn(2); // This example will spawn 2 shards;
//Make this a seperate file and run this file.
1

New to Communities?

Join the community