From d89a5279ac4b781ac8d7e0326506904eda9c8c04 Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 21 Jul 2026 21:44:14 +0100 Subject: [PATCH] feat(RESTJSONErrorCodes): support `40009` (#1733) --- 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 eff66e86..6f24a695 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -153,6 +153,8 @@ export enum RESTJSONErrorCodes { FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild, + OnlyOneChannelCanHaveAParentIdModifiedAtATime = 40_009, + ConnectionHasBeenRevoked = 40_012, OnlyConsumableSKUsCanBeConsumed = 40_018, diff --git a/rest/common.ts b/rest/common.ts index eff66e86..6f24a695 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -153,6 +153,8 @@ export enum RESTJSONErrorCodes { FeatureTemporarilyDisabledServerSide, UserBannedFromThisGuild, + OnlyOneChannelCanHaveAParentIdModifiedAtATime = 40_009, + ConnectionHasBeenRevoked = 40_012, OnlyConsumableSKUsCanBeConsumed = 40_018,