mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-12-22 23:46:26 -05:00
ahah
This commit is contained in:
parent
2c5fd95a7c
commit
13c2d946bb
@ -1,5 +1,6 @@
|
|||||||
const { ShardingManager } = require('discord.js');
|
const { ShardingManager } = require('discord.js');
|
||||||
const manager = new ShardingManager('./bot.js',config.token);
|
const manager = new ShardingManager('./bot.js',config.token);
|
||||||
|
const config = require("./config.json");
|
||||||
|
|
||||||
manager.spawn();
|
manager.spawn();
|
||||||
manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`));
|
manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`));
|
||||||
|
Loading…
Reference in New Issue
Block a user