From 6282c13b7020f77831a1e48e91c67175061a00b8 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 4 Aug 2019 13:42:39 +0300 Subject: [PATCH] Don't fetch all users on load (again...) --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index ae56d20f..57b45acd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -78,7 +78,7 @@ import { AllowedGuilds } from "./data/AllowedGuilds"; logger.info("Connecting to database"); connect().then(async conn => { const client = new Client(`Bot ${process.env.TOKEN}`, { - getAllUsers: true, + getAllUsers: false, restMode: true, }); client.setMaxListeners(100);