Skip to content

Commit

Permalink
refactor(RESTJSONErrorCodes): use MaximumThreadParticipantsReached
Browse files Browse the repository at this point in the history
…instead in error code 30033 (#540)

BREAKING CHANGE: `MaximumThreadParticipants` was renamed to `MaximumThreadParticipantsReached` for consistency with the rest of the codes
  • Loading branch information
Mateo-tem committed Jul 26, 2022
1 parent cb6d4ba commit cecf17b
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 @@ -102,7 +102,7 @@ export enum RESTJSONErrorCodes {

GuildAlreadyHasTemplate = 30031,
MaximumNumberOfApplicationCommandsReached,
MaximumThreadParticipants,
MaximumThreadParticipantsReached,
MaximumDailyApplicationCommandCreatesReached,
MaximumNumberOfNonGuildMemberBansHasBeenExceeded,

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

GuildAlreadyHasTemplate = 30031,
MaximumNumberOfApplicationCommandsReached,
MaximumThreadParticipants,
MaximumThreadParticipantsReached,
MaximumDailyApplicationCommandCreatesReached,
MaximumNumberOfNonGuildMemberBansHasBeenExceeded,

Expand Down

1 comment on commit cecf17b

@vercel
Copy link

@vercel vercel bot commented on cecf17b Jul 26, 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.