Moving the 'getAllUsers' option into the correct parameter object
parent
8d54cce2b5
commit
5a760b5e50
|
@ -1,12 +1,13 @@
|
||||||
const Eris = require('eris');
|
const Eris = require('eris');
|
||||||
const config = require('./config');
|
const config = require('./config');
|
||||||
|
|
||||||
const bot = new Eris.CommandClient(config.token, {}, {
|
const bot = new Eris.CommandClient(config.token, {
|
||||||
|
getAllUsers: true,
|
||||||
|
}, {
|
||||||
prefix: config.prefix,
|
prefix: config.prefix,
|
||||||
ignoreSelf: true,
|
ignoreSelf: true,
|
||||||
ignoreBots: true,
|
ignoreBots: true,
|
||||||
defaultHelpCommand: false,
|
defaultHelpCommand: false,
|
||||||
getAllUsers: true,
|
|
||||||
defaultCommandOptions: {
|
defaultCommandOptions: {
|
||||||
caseInsensitive: true,
|
caseInsensitive: true,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue