Moving the 'getAllUsers' option into the correct parameter object

master
Dylan Akhawais 2018-08-29 02:30:12 +01:00
parent 8d54cce2b5
commit 5a760b5e50
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,
},