Skip to content

Commit

Permalink
refactor(RESTJSONErrorCodes): update error 50008 key (#338)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: The error code `50008` has been renamed from `CannotSendMessagesInVoiceChannel` to `CannotSendMessagesInNonTextChannel`
  • Loading branch information
almeidx committed Mar 9, 2022
1 parent 10fdeaa commit 9a57848
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 @@ -134,7 +134,7 @@ export enum RESTJSONErrorCodes {
CannotEditMessageAuthoredByAnotherUser,
CannotSendAnEmptyMessage,
CannotSendMessagesToThisUser,
CannotSendMessagesInVoiceChannel,
CannotSendMessagesInNonTextChannel,
ChannelVerificationLevelTooHighForYouToGainAccess,
OAuth2ApplicationDoesNotHaveBot,
OAuth2ApplicationLimitReached,
Expand Down
2 changes: 1 addition & 1 deletion rest/common.ts
Expand Up @@ -134,7 +134,7 @@ export enum RESTJSONErrorCodes {
CannotEditMessageAuthoredByAnotherUser,
CannotSendAnEmptyMessage,
CannotSendMessagesToThisUser,
CannotSendMessagesInVoiceChannel,
CannotSendMessagesInNonTextChannel,
ChannelVerificationLevelTooHighForYouToGainAccess,
OAuth2ApplicationDoesNotHaveBot,
OAuth2ApplicationLimitReached,
Expand Down

0 comments on commit 9a57848

Please sign in to comment.