diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 71fd4701..e89a72d7 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -134,7 +134,7 @@ export enum RESTJSONErrorCodes { CannotEditMessageAuthoredByAnotherUser, CannotSendAnEmptyMessage, CannotSendMessagesToThisUser, - CannotSendMessagesInVoiceChannel, + CannotSendMessagesInNonTextChannel, ChannelVerificationLevelTooHighForYouToGainAccess, OAuth2ApplicationDoesNotHaveBot, OAuth2ApplicationLimitReached, diff --git a/rest/common.ts b/rest/common.ts index 71fd4701..e89a72d7 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -134,7 +134,7 @@ export enum RESTJSONErrorCodes { CannotEditMessageAuthoredByAnotherUser, CannotSendAnEmptyMessage, CannotSendMessagesToThisUser, - CannotSendMessagesInVoiceChannel, + CannotSendMessagesInNonTextChannel, ChannelVerificationLevelTooHighForYouToGainAccess, OAuth2ApplicationDoesNotHaveBot, OAuth2ApplicationLimitReached,