From 8b49887c7f732fe88cadb1e6ca17e0dc12db25f9 Mon Sep 17 00:00:00 2001 From: Vlad Frangu Date: Tue, 7 Sep 2021 12:57:06 +0300 Subject: [PATCH] feat(JSONErrorCodes): add `160002` (#190) ref: https://github.com/discord/discord-api-docs/pull/3738 --- 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 c39408e6c..481ca0fdd 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -182,6 +182,8 @@ export enum RESTJSONErrorCodes { TheStageIsAlreadyOpen = 150006, + CannotReplyWithoutPermissionToReadMessageHistory = 160002, + ThreadAlreadyCreatedForMessage = 160004, ThreadLocked, MaximumActiveThreads, diff --git a/rest/common.ts b/rest/common.ts index 6153f4f55..6899959bb 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -182,6 +182,8 @@ export const enum RESTJSONErrorCodes { TheStageIsAlreadyOpen = 150006, + CannotReplyWithoutPermissionToReadMessageHistory = 160002, + ThreadAlreadyCreatedForMessage = 160004, ThreadLocked, MaximumActiveThreads,