diff --git a/src/index.ts b/src/index.ts index c78770ce..043b3271 100644 --- a/src/index.ts +++ b/src/index.ts @@ -27,7 +27,9 @@ import knex from "./knex"; // Run latest database migrations logger.info("Running database migrations"); knex.migrate.latest().then(() => { - const client = new Client(process.env.TOKEN); + const client = new Client(process.env.TOKEN, { + getAllUsers: true + }); client.setMaxListeners(100); const bot = new Knub(client, {