From 30fb4978b76f30a00453470f643d71e8f1d1f817 Mon Sep 17 00:00:00 2001 From: Almeida Date: Thu, 25 May 2023 22:53:29 +0100 Subject: [PATCH] feat(RESTJSONErrorCodes): add error `50178` (#752) --- 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 68bf4728..3166ad0a 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -240,6 +240,8 @@ export enum RESTJSONErrorCodes { YouCannotSendVoiceMessagesInThisChannel = 50_173, + TheUserAccountMustFirstBeVerified = 50_178, + YouDoNotHavePermissionToSendThisSticker = 50_600, TwoFactorAuthenticationIsRequired = 60_003, diff --git a/rest/common.ts b/rest/common.ts index 68bf4728..3166ad0a 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -240,6 +240,8 @@ export enum RESTJSONErrorCodes { YouCannotSendVoiceMessagesInThisChannel = 50_173, + TheUserAccountMustFirstBeVerified = 50_178, + YouDoNotHavePermissionToSendThisSticker = 50_600, TwoFactorAuthenticationIsRequired = 60_003,