From ced37d0a5ebdc80887662529922c57e2531e1e5b Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Wed, 14 Apr 2021 19:39:12 +0300 Subject: [PATCH] feat(RESTJSONErrorCode): add `UnknownInteraction` error code (#115) --- 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 9d02ac50..7519561d 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -32,7 +32,8 @@ export enum RESTJSONErrorCodes { UnknownGuildTemplate = 10057, - UnknownApplicationCommand = 10063, + UnknownInteraction = 10062, + UnknownApplicationCommand, BotsCannotUseThisEndpoint = 20001, OnlyBotsCanUseThisEndpoint, diff --git a/rest/common.ts b/rest/common.ts index a7138a35..eb5edd47 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -32,7 +32,8 @@ export const enum RESTJSONErrorCodes { UnknownGuildTemplate = 10057, - UnknownApplicationCommand = 10063, + UnknownInteraction = 10062, + UnknownApplicationCommand, BotsCannotUseThisEndpoint = 20001, OnlyBotsCanUseThisEndpoint,