From 2e4531f3ba17a17a0bea504a173ef4678c46cdbb Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Mon, 8 Nov 2021 20:32:07 +0000 Subject: [PATCH] Closes #1549 --- src/types/codes/json_error_codes.ts | 6 ++++-- src/types/messages/message_sticker.ts | 8 +------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/src/types/codes/json_error_codes.ts b/src/types/codes/json_error_codes.ts index 4682476f9..e031f4293 100644 --- a/src/types/codes/json_error_codes.ts +++ b/src/types/codes/json_error_codes.ts @@ -33,7 +33,8 @@ export enum DiscordJsonErrorCodes { UnknownInteraction = 10062, UnknownApplicationCommand = 10063, UnknownApplicationCommandPermissions = 10066, - UnknownGuildMemberVerificationForm = 10068, + UnknownStageInstance, + UnknownGuildMemberVerificationForm, BotsCannotUseThisEndpoint = 20001, OnlyBotsCanUseThisEndpoint, ExplicitContentCannotBeSentToTheDesiredRecipient = 20009, @@ -42,7 +43,7 @@ export enum DiscordJsonErrorCodes { OnlyTheOwnerOfThisAccountCanPerformThisAction = 20018, ThisMessageCannotBeEditedDueToAnnouncementRateLimits = 20022, TheChannelYouAreWritingHasHitTheWriteRateLimit = 20028, - YourStageTopicContainsWordsThatAreNotAllowedForPublicStages = 20031, + YourStageTopicOrServerNameOrServerDescriptionOrChannelNamesContainsWordsThatAreNotAllowedForPublicStages = 20031, GuildPremiumSubscriptionLevelTooLow = 20035, MaximumNumberOfGuildsReached = 30001, MaximumNumberOfFriendsReached, @@ -110,6 +111,7 @@ export enum DiscordJsonErrorCodes { NoUsersWithDiscordTagExist = 80004, ReqctionWasBlocked = 90001, ApiResourceIsCurrentlyOverloadedTryAgainALittleLater = 130000, + TheStageIsAlreadyOpen = 150006, AThreadHasAlreadyBeenCreatedForThisMessage = 160004, ThreadIsLocked = 160005, MaximumNumberOfActiveThreadsReached = 160006, diff --git a/src/types/messages/message_sticker.ts b/src/types/messages/message_sticker.ts index 92d477daf..4c23dd4d8 100644 --- a/src/types/messages/message_sticker.ts +++ b/src/types/messages/message_sticker.ts @@ -11,14 +11,8 @@ export interface MessageSticker { name: string; /** Description of the sticker */ description: string; - /** For guild stickers, a unicode emoji representing the sticker's expression. For Nitro stickers, a comma-separated list of related expressions */ + /** a unicode emoji representing the sticker's expression */ tags: string; - /** - * Sticker asset hash - * Note: The URL for fetching sticker assets is currently private. - * @deprecated the value of the asset field will an empty string. - */ - asset: string; /** Type of sticker format */ formatType: DiscordMessageStickerFormatTypes; /** Whether or not the sticker is available */