This commit is contained in:
Skillz4Killz
2021-11-08 20:32:07 +00:00
committed by GitHub
parent dda5878407
commit 2e4531f3ba
2 changed files with 5 additions and 9 deletions
+4 -2
View File
@@ -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,
+1 -7
View File
@@ -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 */