This commit is contained in:
Alex Brow 2020-03-22 23:50:06 -04:00
parent 2c5fd95a7c
commit 13c2d946bb
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -1,5 +1,6 @@
const { ShardingManager } = require('discord.js');
const manager = new ShardingManager('./bot.js',config.token);
const config = require("./config.json");
manager.spawn();
manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`));