📌  相关文章
📜  如何分片不和谐的机器人 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:09.758000             🧑  作者: Mango

代码示例1
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.