From 51a77b00820a4c25744328e72ff75b8d0c2870f7 Mon Sep 17 00:00:00 2001 From: Dragory Date: Sat, 20 Apr 2019 19:54:55 +0300 Subject: [PATCH] Don't load all members on startup Should improve start times significantly --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 30188d89..56ad60b0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -84,7 +84,7 @@ connect().then(async conn => { await conn.runMigrations(); const client = new Client(`Bot ${process.env.TOKEN}`, { - getAllUsers: true, + getAllUsers: false, restMode: true, }); client.setMaxListeners(100);