discord-api-types
Advanced tools
Comparing version 0.37.104-next.736479c.1730842637 to 0.37.104
@@ -173,2 +173,6 @@ "use strict"; | ||
GatewayIntentBits[GatewayIntentBits["GuildBans"] = 4] = "GuildBans"; | ||
GatewayIntentBits[GatewayIntentBits["GuildExpressions"] = 8] = "GuildExpressions"; | ||
/** | ||
* @deprecated This is the old name for {@apilink GatewayIntentBits#GuildExpressions} | ||
*/ | ||
GatewayIntentBits[GatewayIntentBits["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers"; | ||
@@ -233,2 +237,3 @@ GatewayIntentBits[GatewayIntentBits["GuildIntegrations"] = 16] = "GuildIntegrations"; | ||
GatewayDispatchEvents["GuildSoundboardSoundUpdate"] = "GUILD_SOUNDBOARD_SOUND_UPDATE"; | ||
GatewayDispatchEvents["SoundboardSounds"] = "SOUNDBOARD_SOUNDS"; | ||
GatewayDispatchEvents["GuildStickersUpdate"] = "GUILD_STICKERS_UPDATE"; | ||
@@ -235,0 +240,0 @@ GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; |
@@ -173,2 +173,6 @@ "use strict"; | ||
GatewayIntentBits[GatewayIntentBits["GuildBans"] = 4] = "GuildBans"; | ||
GatewayIntentBits[GatewayIntentBits["GuildExpressions"] = 8] = "GuildExpressions"; | ||
/** | ||
* @deprecated This is the old name for {@apilink GatewayIntentBits#GuildExpressions} | ||
*/ | ||
GatewayIntentBits[GatewayIntentBits["GuildEmojisAndStickers"] = 8] = "GuildEmojisAndStickers"; | ||
@@ -232,2 +236,3 @@ GatewayIntentBits[GatewayIntentBits["GuildIntegrations"] = 16] = "GuildIntegrations"; | ||
GatewayDispatchEvents["GuildSoundboardSoundUpdate"] = "GUILD_SOUNDBOARD_SOUND_UPDATE"; | ||
GatewayDispatchEvents["SoundboardSounds"] = "SOUNDBOARD_SOUNDS"; | ||
GatewayDispatchEvents["GuildStickersUpdate"] = "GUILD_STICKERS_UPDATE"; | ||
@@ -234,0 +239,0 @@ GatewayDispatchEvents["GuildUpdate"] = "GUILD_UPDATE"; |
{ | ||
"name": "discord-api-types", | ||
"version": "0.37.104-next.736479c.1730842637", | ||
"version": "0.37.104", | ||
"description": "Discord API typings that are kept up to date for use in bot library creation.", | ||
@@ -139,3 +139,3 @@ "homepage": "https://discord-api-types.dev", | ||
"@types/conventional-recommended-bump": "^9.0.3", | ||
"@types/node": "^20.11.24", | ||
"@types/node": "^22.0.0", | ||
"@typescript-eslint/utils": "^8.0.0", | ||
@@ -142,0 +142,0 @@ "conventional-changelog-cli": "^4.1.0", |
@@ -462,2 +462,6 @@ /** | ||
/** | ||
* Guild has increased custom soundboard sound slots | ||
*/ | ||
MoreSoundboard = "MORE_SOUNDBOARD", | ||
/** | ||
* Guild has enabled monetization | ||
@@ -506,2 +510,6 @@ * | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
Soundboard = "SOUNDBOARD", | ||
/** | ||
* Guild has enabled ticketed events | ||
@@ -525,7 +533,3 @@ */ | ||
*/ | ||
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED", | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
Soundboard = "SOUNDBOARD" | ||
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED" | ||
} | ||
@@ -532,0 +536,0 @@ /** |
@@ -198,2 +198,6 @@ "use strict"; | ||
/** | ||
* Guild has increased custom soundboard sound slots | ||
*/ | ||
GuildFeature["MoreSoundboard"] = "MORE_SOUNDBOARD"; | ||
/** | ||
* Guild has enabled monetization | ||
@@ -242,2 +246,6 @@ * | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
GuildFeature["Soundboard"] = "SOUNDBOARD"; | ||
/** | ||
* Guild has enabled ticketed events | ||
@@ -262,6 +270,2 @@ */ | ||
GuildFeature["WelcomeScreenEnabled"] = "WELCOME_SCREEN_ENABLED"; | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
GuildFeature["Soundboard"] = "SOUNDBOARD"; | ||
})(GuildFeature || (exports.GuildFeature = GuildFeature = {})); | ||
@@ -268,0 +272,0 @@ /** |
@@ -454,2 +454,6 @@ /** | ||
/** | ||
* Guild has increased custom soundboard sound slots | ||
*/ | ||
MoreSoundboard = "MORE_SOUNDBOARD", | ||
/** | ||
* Guild has enabled monetization | ||
@@ -498,2 +502,6 @@ * | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
Soundboard = "SOUNDBOARD", | ||
/** | ||
* Guild has enabled ticketed events | ||
@@ -517,7 +525,3 @@ */ | ||
*/ | ||
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED", | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
Soundboard = "SOUNDBOARD" | ||
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED" | ||
} | ||
@@ -524,0 +528,0 @@ /** |
@@ -190,2 +190,6 @@ "use strict"; | ||
/** | ||
* Guild has increased custom soundboard sound slots | ||
*/ | ||
GuildFeature["MoreSoundboard"] = "MORE_SOUNDBOARD"; | ||
/** | ||
* Guild has enabled monetization | ||
@@ -234,2 +238,6 @@ * | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
GuildFeature["Soundboard"] = "SOUNDBOARD"; | ||
/** | ||
* Guild has enabled ticketed events | ||
@@ -254,6 +262,2 @@ */ | ||
GuildFeature["WelcomeScreenEnabled"] = "WELCOME_SCREEN_ENABLED"; | ||
/** | ||
* Guild has created soundboard sounds | ||
*/ | ||
GuildFeature["Soundboard"] = "SOUNDBOARD"; | ||
})(GuildFeature || (exports.GuildFeature = GuildFeature = {})); | ||
@@ -260,0 +264,0 @@ /** |
@@ -50,2 +50,3 @@ /** | ||
UnknownTag = 10087, | ||
UnknownSound = 10097, | ||
BotsCannotUseThisEndpoint = 20001, | ||
@@ -89,2 +90,3 @@ OnlyBotsCanUseThisEndpoint = 20002, | ||
MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached = 30042, | ||
MaximumNumberOfSoundboardSoundsReached = 30045, | ||
MaximumNumberOfEditsToMessagesOlderThanOneHourReached = 30046, | ||
@@ -174,2 +176,3 @@ MaximumNumberOfPinnedThreadsInForumHasBeenReached = 30047, | ||
ProvidedFileIsInvalid = 50110, | ||
ProvidedFileTypeIsInvalid = 50123, | ||
ProvidedFileDurationExceedsMaximumLength = 50124, | ||
@@ -182,2 +185,3 @@ OwnerCannotBePendingMember = 50131, | ||
UploadedFileNotFound = 50146, | ||
SpecifiedEmojiIsInvalid = 50151, | ||
VoiceMessagesDoNotSupportAdditionalContent = 50159, | ||
@@ -190,2 +194,3 @@ VoiceMessagesMustHaveASingleAudioAttachment = 50160, | ||
TheUserAccountMustFirstBeVerified = 50178, | ||
ProvidedFileDoesNotHaveAValidDuration = 50192, | ||
YouDoNotHavePermissionToSendThisSticker = 50600, | ||
@@ -192,0 +197,0 @@ TwoFactorAuthenticationIsRequired = 60003, |
@@ -54,2 +54,3 @@ "use strict"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["UnknownTag"] = 10087] = "UnknownTag"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["UnknownSound"] = 10097] = "UnknownSound"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["BotsCannotUseThisEndpoint"] = 20001] = "BotsCannotUseThisEndpoint"; | ||
@@ -93,2 +94,3 @@ RESTJSONErrorCodes[RESTJSONErrorCodes["OnlyBotsCanUseThisEndpoint"] = 20002] = "OnlyBotsCanUseThisEndpoint"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached"] = 30042] = "MaximumNumberOfGuildWidgetSettingsUpdatesHasBeenReached"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["MaximumNumberOfSoundboardSoundsReached"] = 30045] = "MaximumNumberOfSoundboardSoundsReached"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["MaximumNumberOfEditsToMessagesOlderThanOneHourReached"] = 30046] = "MaximumNumberOfEditsToMessagesOlderThanOneHourReached"; | ||
@@ -178,2 +180,3 @@ RESTJSONErrorCodes[RESTJSONErrorCodes["MaximumNumberOfPinnedThreadsInForumHasBeenReached"] = 30047] = "MaximumNumberOfPinnedThreadsInForumHasBeenReached"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["ProvidedFileIsInvalid"] = 50110] = "ProvidedFileIsInvalid"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["ProvidedFileTypeIsInvalid"] = 50123] = "ProvidedFileTypeIsInvalid"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["ProvidedFileDurationExceedsMaximumLength"] = 50124] = "ProvidedFileDurationExceedsMaximumLength"; | ||
@@ -186,2 +189,3 @@ RESTJSONErrorCodes[RESTJSONErrorCodes["OwnerCannotBePendingMember"] = 50131] = "OwnerCannotBePendingMember"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["UploadedFileNotFound"] = 50146] = "UploadedFileNotFound"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["SpecifiedEmojiIsInvalid"] = 50151] = "SpecifiedEmojiIsInvalid"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["VoiceMessagesDoNotSupportAdditionalContent"] = 50159] = "VoiceMessagesDoNotSupportAdditionalContent"; | ||
@@ -194,2 +198,3 @@ RESTJSONErrorCodes[RESTJSONErrorCodes["VoiceMessagesMustHaveASingleAudioAttachment"] = 50160] = "VoiceMessagesMustHaveASingleAudioAttachment"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["TheUserAccountMustFirstBeVerified"] = 50178] = "TheUserAccountMustFirstBeVerified"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["ProvidedFileDoesNotHaveAValidDuration"] = 50192] = "ProvidedFileDoesNotHaveAValidDuration"; | ||
RESTJSONErrorCodes[RESTJSONErrorCodes["YouDoNotHavePermissionToSendThisSticker"] = 50600] = "YouDoNotHavePermissionToSendThisSticker"; | ||
@@ -196,0 +201,0 @@ RESTJSONErrorCodes[RESTJSONErrorCodes["TwoFactorAuthenticationIsRequired"] = 60003] = "TwoFactorAuthenticationIsRequired"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
2835428
56022
0