From 5bb50ae7ea6859845c9d9996f02ac42c61413df0 Mon Sep 17 00:00:00 2001 From: Vitor Date: Wed, 17 Aug 2022 19:02:08 +0100 Subject: [PATCH] feat(RESTJSONErrorCodes): add 240000 (#565) --- 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 5e29e62f2..e80dd3940 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -247,6 +247,8 @@ export enum RESTJSONErrorCodes { TitleWasBlockedByAutomaticModeration, WebhooksCanOnlyCreateThreadsInForumChannels = 220003, + + MessageBlockedByHarmfulLinksFilter = 240000, } /** diff --git a/rest/common.ts b/rest/common.ts index 5e29e62f2..e80dd3940 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -247,6 +247,8 @@ export enum RESTJSONErrorCodes { TitleWasBlockedByAutomaticModeration, WebhooksCanOnlyCreateThreadsInForumChannels = 220003, + + MessageBlockedByHarmfulLinksFilter = 240000, } /**