Skip to content

Commit

Permalink
feat(RESTJSONErrorCodes): add error 30046 (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
suneettipirneni committed Jan 25, 2022
1 parent 7655e20 commit 56d3975
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 @@ -107,6 +107,8 @@ export enum RESTJSONErrorCodes {
MaximumNumberOfStickersReached = 30039,
MaximumNumberOfPruneRequestsHasBeenReached,

MaxmimumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,

Unauthorized = 40001,
VerifyYourAccount,
OpeningDirectMessagesTooFast,
Expand Down
2 changes: 2 additions & 0 deletions rest/common.ts
Expand Up @@ -107,6 +107,8 @@ export const enum RESTJSONErrorCodes {
MaximumNumberOfStickersReached = 30039,
MaximumNumberOfPruneRequestsHasBeenReached,

MaxmimumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,

Unauthorized = 40001,
VerifyYourAccount,
OpeningDirectMessagesTooFast,
Expand Down

0 comments on commit 56d3975

Please sign in to comment.