From 93e649a20de0fda31b3276f8affb3cf6890ea693 Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 5 Sep 2024 19:43:00 +0100 Subject: [PATCH] feat(RESTJSONErrorCodes): add `40018`, `40019`, and `40094` (#1056) --- deno/rest/common.ts | 5 +++++ rest/common.ts | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 9321a2982..894f7209c 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -138,6 +138,9 @@ export enum RESTJSONErrorCodes { ConnectionHasBeenRevoked = 40_012, + OnlyConsumableSKUsCanBeConsumed = 40_018, + YouCanOnlyDeleteSandboxEntitlements, + TargetUserIsNotConnectedToVoice = 40_032, ThisMessageWasAlreadyCrossposted, @@ -156,6 +159,8 @@ export enum RESTJSONErrorCodes { AnEntitlementHasAlreadyBeenGrantedForThisResource = 40_074, + ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages = 40_094, + CloudflareIsBlockingYourRequest = 40_333, MissingAccess = 50_001, diff --git a/rest/common.ts b/rest/common.ts index 9321a2982..894f7209c 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -138,6 +138,9 @@ export enum RESTJSONErrorCodes { ConnectionHasBeenRevoked = 40_012, + OnlyConsumableSKUsCanBeConsumed = 40_018, + YouCanOnlyDeleteSandboxEntitlements, + TargetUserIsNotConnectedToVoice = 40_032, ThisMessageWasAlreadyCrossposted, @@ -156,6 +159,8 @@ export enum RESTJSONErrorCodes { AnEntitlementHasAlreadyBeenGrantedForThisResource = 40_074, + ThisInteractionHasHitTheMaximumNumberOfFollowUpMessages = 40_094, + CloudflareIsBlockingYourRequest = 40_333, MissingAccess = 50_001,