mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Closes #1549
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user