From 7655e2024800abc4431011668b83373e0868485e Mon Sep 17 00:00:00 2001 From: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> Date: Tue, 25 Jan 2022 13:46:22 -0500 Subject: [PATCH] feat(RESTJSONErrorCodes): add error 50068 (#302) --- 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 a42bf4b9f..edc337090 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -161,6 +161,8 @@ export enum RESTJSONErrorCodes { CannotSelfRedeemThisGift = 50054, InvalidGuild, + InvalidMessageType = 50068, + PaymentSourceRequiredToRedeemGift = 50070, CannotDeleteChannelRequiredForCommunityGuilds = 50074, diff --git a/rest/common.ts b/rest/common.ts index d532ca906..16223b9c4 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -161,6 +161,8 @@ export const enum RESTJSONErrorCodes { CannotSelfRedeemThisGift = 50054, InvalidGuild, + InvalidMessageType = 50068, + PaymentSourceRequiredToRedeemGift = 50070, CannotDeleteChannelRequiredForCommunityGuilds = 50074,