Skip to content

Commit

Permalink
fix(RESTJSONErrorCodes): typo in error 30046 (#362)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: `MaximumNumberOfEditsToMessagesOlderThanOneHourReached` is no longer mistyped as `MaxmimumNumberOfEditsToMessagesOlderThanOneHourReached`
  • Loading branch information
almeidx committed Mar 9, 2022
1 parent e5710d0 commit 854aa36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/rest/common.ts
Expand Up @@ -110,7 +110,7 @@ export enum RESTJSONErrorCodes {

MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached = 30042,

MaxmimumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,
MaximumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,

Unauthorized = 40001,
VerifyYourAccount,
Expand Down
2 changes: 1 addition & 1 deletion rest/common.ts
Expand Up @@ -110,7 +110,7 @@ export enum RESTJSONErrorCodes {

MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached = 30042,

MaxmimumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,
MaximumNumberOfEditsToMessagesOlderThanOneHourReached = 30046,

Unauthorized = 40001,
VerifyYourAccount,
Expand Down

0 comments on commit 854aa36

Please sign in to comment.