From d9d864698eb09ba8616450f29647d254cb60c75a Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Wed, 18 Aug 2021 23:58:25 +0300 Subject: [PATCH] Re-enable restGlobalRateLimit: 50 --- backend/src/index.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 71eda5a8..081f68a7 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -151,8 +151,9 @@ logger.info("Connecting to database"); connect().then(async () => { const client = new Client({ partials: ["USER", "CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION"], - // restTimeOffset: 150, - // restGlobalRateLimit: 50, + + restGlobalRateLimit: 50, + // Disable mentions by default allowedMentions: { parse: [],