Merge branch 'config-fix' of https://github.com/Akhawais/modmailbot into Akhawais-config-fix

master
Dragory 2018-09-20 22:08:50 +03:00
commit a8822ea002
1 changed files with 3 additions and 2 deletions

View File

@ -1,12 +1,13 @@
const Eris = require('eris');
const config = require('./config');
const bot = new Eris.CommandClient(config.token, {}, {
const bot = new Eris.CommandClient(config.token, {
getAllUsers: true,
}, {
prefix: config.prefix,
ignoreSelf: true,
ignoreBots: true,
defaultHelpCommand: false,
getAllUsers: true,
defaultCommandOptions: {
caseInsensitive: true,
},