From 5a760b5e506a3121c60169a6b8b2650c2cf7bdd6 Mon Sep 17 00:00:00 2001 From: Dylan Akhawais Date: Wed, 29 Aug 2018 02:30:12 +0100 Subject: [PATCH] Moving the 'getAllUsers' option into the correct parameter object --- src/bot.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/bot.js b/src/bot.js index 5dedf02..a8e8efb 100644 --- a/src/bot.js +++ b/src/bot.js @@ -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, },