📅  最后修改于: 2022-03-11 14:55:09.758000             🧑  作者: Mango
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.