mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 10:19:11 +02:00
Bug Fix for Shard
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
const { ShardingManager } = require('discord.js');
|
||||
const path = require('path');
|
||||
const { token } = require('./config');
|
||||
const Manager = new ShardingManager('./XiaoBot.js', { token });
|
||||
const Manager = new ShardingManager(path.join(__dirname, 'XiaoBot.js'), { token });
|
||||
Manager.spawn();
|
||||
|
||||
Reference in New Issue
Block a user