From 83e49474298f2fbf880e3fb9a8e3a59d066aac95 Mon Sep 17 00:00:00 2001 From: Miikka <2606411+Dragory@users.noreply.github.com> Date: Thu, 19 Aug 2021 01:37:25 +0300 Subject: [PATCH] Desperate hotfix attempt --- backend/src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index fdd7986c..9263279b 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -152,7 +152,8 @@ connect().then(async () => { const client = new Client({ partials: ["USER", "CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION"], - restGlobalRateLimit: 50, + restGlobalRateLimit: 5, + restTimeOffset: 1000, // Disable mentions by default allowedMentions: {