From cecf17b4158fbebb3ee508518a9e9a7b1297356f Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Tue, 26 Jul 2022 04:13:34 -0500 Subject: [PATCH] refactor(RESTJSONErrorCodes): use `MaximumThreadParticipantsReached` instead in error code 30033 (#540) BREAKING CHANGE: `MaximumThreadParticipants` was renamed to `MaximumThreadParticipantsReached` for consistency with the rest of the codes --- deno/rest/common.ts | 2 +- rest/common.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index c9181da76..5e29e62f2 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -102,7 +102,7 @@ export enum RESTJSONErrorCodes { GuildAlreadyHasTemplate = 30031, MaximumNumberOfApplicationCommandsReached, - MaximumThreadParticipants, + MaximumThreadParticipantsReached, MaximumDailyApplicationCommandCreatesReached, MaximumNumberOfNonGuildMemberBansHasBeenExceeded, diff --git a/rest/common.ts b/rest/common.ts index c9181da76..5e29e62f2 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -102,7 +102,7 @@ export enum RESTJSONErrorCodes { GuildAlreadyHasTemplate = 30031, MaximumNumberOfApplicationCommandsReached, - MaximumThreadParticipants, + MaximumThreadParticipantsReached, MaximumDailyApplicationCommandCreatesReached, MaximumNumberOfNonGuildMemberBansHasBeenExceeded,