Skip to content

Commit 20653b3

Browse files
author
Vitor
authored
feat(RESTJSONErrorCodes): add 220003 error (#466)
1 parent 7bef64d commit 20653b3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deno/rest/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ export enum RESTJSONErrorCodes {
227227
CannotUpdateAFinishedEvent = 180000,
228228

229229
FailedToCreateStageNeededForStageEvent = 180002,
230+
231+
WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
230232
}
231233

232234
/**

rest/common.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ export enum RESTJSONErrorCodes {
227227
CannotUpdateAFinishedEvent = 180000,
228228

229229
FailedToCreateStageNeededForStageEvent = 180002,
230+
231+
WebhooksCanOnlyCreateThreadsInForumChannels = 220003,
230232
}
231233

232234
/**

0 commit comments

Comments
 (0)