From 34908aa4ceeca4b58276cc207f5bdb77cef04296 Mon Sep 17 00:00:00 2001 From: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> Date: Mon, 27 Jun 2022 16:36:00 -0400 Subject: [PATCH] feat(RESTJSONErrorCodes): add error 20024 (#480) --- deno/rest/common.ts | 2 ++ rest/common.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 4d3460bc..41194e55 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -70,6 +70,8 @@ export enum RESTJSONErrorCodes { AnnouncementEditLimitExceeded = 20022, + UnderMinimumAge = 20024, + ChannelSendRateLimit = 20028, ServerSendRateLimit, diff --git a/rest/common.ts b/rest/common.ts index 4d3460bc..41194e55 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -70,6 +70,8 @@ export enum RESTJSONErrorCodes { AnnouncementEditLimitExceeded = 20022, + UnderMinimumAge = 20024, + ChannelSendRateLimit = 20028, ServerSendRateLimit,