From 269a75ccf7b413bfc031849713e919ebb8d87a1a Mon Sep 17 00:00:00 2001 From: Almeida Date: Tue, 8 Feb 2022 18:37:46 +0000 Subject: [PATCH] feat(RESTJSONErrorCodes): add error 40004 (#314) --- deno/rest/common.ts | 4 ++-- rest/common.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index a7e09bc0f..c85e32e92 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -114,8 +114,8 @@ export enum RESTJSONErrorCodes { Unauthorized = 40001, VerifyYourAccount, OpeningDirectMessagesTooFast, - - RequestEntityTooLarge = 40005, + SendMessagesHasBeenTemporarilyDisabled, + RequestEntityTooLarge, FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild, diff --git a/rest/common.ts b/rest/common.ts index a7e09bc0f..c85e32e92 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -114,8 +114,8 @@ export enum RESTJSONErrorCodes { Unauthorized = 40001, VerifyYourAccount, OpeningDirectMessagesTooFast, - - RequestEntityTooLarge = 40005, + SendMessagesHasBeenTemporarilyDisabled, + RequestEntityTooLarge, FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild,