const { ClusterManager } = require('discord-hybrid-sharding')
const BOT_TOKEN = ''
const manager = new ClusterManager(`./bot.js`, {
totalShards: 1,
totalClusters: 1,
mode: 'process',
token: BOT_TOKEN,
})
manager.on('clusterCreate', cluster => console.log(`Launched cluster ${cluster.id}`))
manager.spawn({amount: 1, delay: 10000})
const { ClusterManager } = require('discord-hybrid-sharding')
const BOT_TOKEN = ''
const manager = new ClusterManager(`./bot.js`, {
totalShards: 1,
totalClusters: 1,
mode: 'process',
token: BOT_TOKEN,
})
manager.on('clusterCreate', cluster => console.log(`Launched cluster ${cluster.id}`))
manager.spawn({amount: 1, delay: 10000})