From 6e4a6115ae44aca5c0b61f621ad75829632850f4 Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Thu, 5 Jan 2023 06:38:00 -0500 Subject: [PATCH] feat(RESTJSONErrorCodes): add error `50067` (#640) --- 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 15dcb2a79..e3ec002e5 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -191,7 +191,8 @@ export enum RESTJSONErrorCodes { CannotSelfRedeemThisGift = 50054, InvalidGuild, - InvalidMessageType = 50068, + InvalidRequestOrigin = 50067, + InvalidMessageType, PaymentSourceRequiredToRedeemGift = 50070, diff --git a/rest/common.ts b/rest/common.ts index 15dcb2a79..e3ec002e5 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -191,7 +191,8 @@ export enum RESTJSONErrorCodes { CannotSelfRedeemThisGift = 50054, InvalidGuild, - InvalidMessageType = 50068, + InvalidRequestOrigin = 50067, + InvalidMessageType, PaymentSourceRequiredToRedeemGift = 50070,