mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-04 15:56:52 +02:00
9 lines
235 B
JavaScript
9 lines
235 B
JavaScript
const Discord = require('discord.js');
|
|
const config = require('./config.json');
|
|
const Manager = new Discord.ShardingManager('./index.js', {
|
|
token: config.token
|
|
});
|
|
Manager.spawn();
|
|
|
|
process.on('unhandledRejection', console.error);
|