From 20153f6fe24676d73bcb41e92c6d9d52961f1f73 Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Wed, 15 Feb 2023 14:51:25 -0500 Subject: [PATCH] feat(RESTJSONErrorCodes): add error `30060` (#720) --- deno/rest/common.ts | 3 ++- rest/common.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 8951e139..64337a68 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -125,7 +125,8 @@ export enum RESTJSONErrorCodes { MaximumNumberOfWebhooksPerGuildReached = 30058, - TheChannelsForThisGuildAreTooLarge = 30061, + MaximumNumberOfChannelPermissionOverwritesReached = 30060, + TheChannelsForThisGuildAreTooLarge, Unauthorized = 40001, VerifyYourAccount, diff --git a/rest/common.ts b/rest/common.ts index 8951e139..64337a68 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -125,7 +125,8 @@ export enum RESTJSONErrorCodes { MaximumNumberOfWebhooksPerGuildReached = 30058, - TheChannelsForThisGuildAreTooLarge = 30061, + MaximumNumberOfChannelPermissionOverwritesReached = 30060, + TheChannelsForThisGuildAreTooLarge, Unauthorized = 40001, VerifyYourAccount,