2019-11-10 08:42:09 +00:00
|
|
|
const Client = require('./src/index');
|
|
|
|
const config = require('./config');
|
|
|
|
const { log } = require('./utils/index');
|
|
|
|
const yiff = require('yiff');
|
2019-10-09 16:19:30 +00:00
|
|
|
|
2019-11-10 20:50:18 +00:00
|
|
|
yiff.sheri.setToken(config.api.sheri);
|
2019-11-10 08:42:09 +00:00
|
|
|
const { util } = require('discord.js');
|
2019-10-09 16:19:30 +00:00
|
|
|
|
2019-11-10 08:42:09 +00:00
|
|
|
util.fetchRecommendedShards(config.token).then(async (count) => {
|
|
|
|
await log.starting();
|
|
|
|
new Client(config, count);
|
2019-10-14 11:19:41 +00:00
|
|
|
});
|