2017-09-19 13:23:55 -04:00
|
|
|
const Eris = require('eris');
|
|
|
|
const config = require('./config');
|
|
|
|
|
2018-08-28 21:30:12 -04:00
|
|
|
const bot = new Eris.CommandClient(config.token, {
|
|
|
|
getAllUsers: true,
|
2019-03-27 22:29:40 -04:00
|
|
|
restMode: true,
|
2018-08-28 21:30:12 -04:00
|
|
|
}, {
|
2017-09-19 13:23:55 -04:00
|
|
|
prefix: config.prefix,
|
|
|
|
ignoreSelf: true,
|
|
|
|
ignoreBots: true,
|
|
|
|
defaultHelpCommand: false,
|
|
|
|
defaultCommandOptions: {
|
|
|
|
caseInsensitive: true,
|
|
|
|
},
|
|
|
|
});
|
|
|
|
|
|
|
|
module.exports = bot;
|