Skip to content

Commit

Permalink
feat(RESTJSONErrorCodes): add 240000 (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvito7 committed Aug 17, 2022
1 parent 0fab79f commit 5bb50ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deno/rest/common.ts
Expand Up @@ -247,6 +247,8 @@ export enum RESTJSONErrorCodes {
TitleWasBlockedByAutomaticModeration,

WebhooksCanOnlyCreateThreadsInForumChannels = 220003,

MessageBlockedByHarmfulLinksFilter = 240000,
}

/**
Expand Down
2 changes: 2 additions & 0 deletions rest/common.ts
Expand Up @@ -247,6 +247,8 @@ export enum RESTJSONErrorCodes {
TitleWasBlockedByAutomaticModeration,

WebhooksCanOnlyCreateThreadsInForumChannels = 220003,

MessageBlockedByHarmfulLinksFilter = 240000,
}

/**
Expand Down

1 comment on commit 5bb50ae

@vercel
Copy link

@vercel vercel bot commented on 5bb50ae Aug 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.