2019-11-10 08:42:09 +00:00
|
|
|
const Client = require('./src/index');
|
|
|
|
const config = require('./config');
|
|
|
|
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);
|
2020-02-16 02:24:46 +00:00
|
|
|
const {
|
2020-02-16 20:10:44 +00:00
|
|
|
Util
|
2020-02-16 02:24:46 +00:00
|
|
|
} = require('discord.js');
|
2019-10-09 16:19:30 +00:00
|
|
|
|
2020-02-16 20:11:34 +00:00
|
|
|
Util.fetchRecommendedShards(config.token).then(async (count) => {
|
2020-02-16 19:30:02 +00:00
|
|
|
new Client(config, count);
|
2020-02-16 02:24:46 +00:00
|
|
|
});
|