diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 7519561d..5e455af8 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -77,9 +77,9 @@ export enum RESTJSONErrorCodes { CannotSendMessagesToThisUser, CannotSendMessagesInVoiceChannel, ChannelVerificationLevelTooHighForYouToGainAccess, - Oauth2ApplicationDoesNotHaveBot, - Oauth2ApplicationLimitReached, - InvalidOauth2State, + OAuth2ApplicationDoesNotHaveBot, + OAuth2ApplicationLimitReached, + InvalidOAuth2State, MissingPermissions, InvalidToken, NoteWasTooLong, @@ -90,7 +90,7 @@ export enum RESTJSONErrorCodes { CannotExecuteActionOnSystemMessage, CannotExecuteActionOnThisChannelType = 50024, - InvalidOauth2AccessToken, + InvalidOAuth2AccessToken, InvalidWebhookToken = 50027, diff --git a/rest/common.ts b/rest/common.ts index eb5edd47..0ec8491b 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -77,9 +77,9 @@ export const enum RESTJSONErrorCodes { CannotSendMessagesToThisUser, CannotSendMessagesInVoiceChannel, ChannelVerificationLevelTooHighForYouToGainAccess, - Oauth2ApplicationDoesNotHaveBot, - Oauth2ApplicationLimitReached, - InvalidOauth2State, + OAuth2ApplicationDoesNotHaveBot, + OAuth2ApplicationLimitReached, + InvalidOAuth2State, MissingPermissions, InvalidToken, NoteWasTooLong, @@ -90,7 +90,7 @@ export const enum RESTJSONErrorCodes { CannotExecuteActionOnSystemMessage, CannotExecuteActionOnThisChannelType = 50024, - InvalidOauth2AccessToken, + InvalidOAuth2AccessToken, InvalidWebhookToken = 50027,