1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-08-01 17:44:35 +00:00

update 3.0.5

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

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);