From 55b4e39b6e30335c2a168acc3a9416b4705ca586 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Sun, 23 May 2021 18:34:23 +0300 Subject: [PATCH] Move ratelimiterOffset to rest.ratelimiterOffset --- backend/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index bf51792f..00312b43 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -156,7 +156,9 @@ connect().then(async () => { restMode: true, compress: false, guildCreateTimeout: 0, - ratelimiterOffset: 150, + rest: { + ratelimiterOffset: 150, + }, // Disable mentions by default allowedMentions: { everyone: false,