update 3.0.5

This commit is contained in:
MatteZ02 committed 2020-03-24 12:02:07 +02:00
1 parent 11cea679d1
commit e20d0e18e0
61 files changed
+81 -109

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
const config = require("./src/struct/config/config.js");
const config = require("./src/struct/config/config.ts");
if (config.devMode) {
config.token = config.devToken;
@@ -6,7 +6,7 @@ if (config.devMode) {
}
const { ShardingManager } = require('discord.js');
const manager = new ShardingManager('./src/bot.js', { token: config.token, respawn: config.respawn, totalShards: config.shards });
const manager = new ShardingManager('./src/bot.ts', { token: config.token, respawn: config.respawn, totalShards: config.shards });
console.log('Launching shards...');
manager.spawn(config.shards, config.shardDelay, config.shardTimeout);