thaldrin/index.js
2019-11-10 21:50:18 +01:00

12 lines
349 B
JavaScript
Executable file

const Client = require('./src/index');
const config = require('./config');
const { log } = require('./utils/index');
const yiff = require('yiff');
yiff.sheri.setToken(config.api.sheri);
const { util } = require('discord.js');
util.fetchRecommendedShards(config.token).then(async (count) => {
await log.starting();
new Client(config, count);
});