16 lines
323 B
JavaScript
16 lines
323 B
JavaScript
|
const Eris = require('eris');
|
||
|
const config = require('./config');
|
||
|
|
||
|
const bot = new Eris.CommandClient(config.token, {}, {
|
||
|
prefix: config.prefix,
|
||
|
ignoreSelf: true,
|
||
|
ignoreBots: true,
|
||
|
defaultHelpCommand: false,
|
||
|
getAllUsers: true,
|
||
|
defaultCommandOptions: {
|
||
|
caseInsensitive: true,
|
||
|
},
|
||
|
});
|
||
|
|
||
|
module.exports = bot;
|