From 2c7c36a53c80aca109dab0c7ee2ca76163ebdd73 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Sun, 20 Mar 2022 14:14:10 +0000 Subject: [PATCH] BREAKING: rename the error. Closes #2086 --- types/shared.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/shared.ts b/types/shared.ts index 67e8c2c1f..e1084af0d 100644 --- a/types/shared.ts +++ b/types/shared.ts @@ -706,7 +706,8 @@ export enum JsonErrorCodes { UnknownSticker, UnknownInteraction = 10062, UnknownApplicationCommand = 10063, - UnknownApplicationCommandPermissions = 10066, + UnknownVoiceState = 10065, + UnknownApplicationCommandPermissions, UnknownStageInstance, UnknownGuildMemberVerificationForm, UnknownGuildWelcomeScreen, @@ -764,7 +765,7 @@ export enum JsonErrorCodes { CannotEditMessageAuthoredByAnotherUser, CannotSendAnEmptyMessage, CannotSendMessagesToThisUser, - CannotSendMessagesInAVoiceChannel, + CannotSendMessagesInANonTextChannel, ChannelVerificationLevelIsTooHighForYouToGainAccess, OAuth2ApplicationDoesNotHaveABot, OAuth2ApplicationLimitReached,