diff --git a/src/types/codes/json_error_codes.ts b/src/types/codes/json_error_codes.ts index a30db5c75..09bfb218b 100644 --- a/src/types/codes/json_error_codes.ts +++ b/src/types/codes/json_error_codes.ts @@ -74,9 +74,9 @@ export enum DiscordJsonErrorCodes { CannotSendMessagesToThisUser, CannotSendMessagesInAVoiceChannel, ChannelVerificationLevelIsTooHighForYouToGainAccess, - Oauth2ApplicationDoesNotHaveABot, - Oauth2ApplicationLimitReached, - InvalidOauth2State, + OAuth2ApplicationDoesNotHaveABot, + OAuth2ApplicationLimitReached, + InvalidOAuth2State, YouLackPermissionsToPerformThatAction, InvalidAuthenticationTokenProvided, NoteWasTooLong, @@ -85,7 +85,8 @@ export enum DiscordJsonErrorCodes { InviteCodeWasEitherInvalidOrTaken, CannotExecuteActionOnASystemMessage, CannotExecuteActionOnThisChannelType = 50024, - InvalidOauth2AccessTokenProvided, + InvalidOAuth2AccessTokenProvided, + MissingRequiredOAuth2Scope, InvalidWebhookTokenProvided, InvalidRecipients = 50033, AMessageProvidedWasTooOldToBulkDelete,