mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(DiscordjsErrorCodes): Deprecate unused properties (#9790)
docs(DiscordjsErrorCodes): deprecate unused properties Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
* @property {'WSNotOpen'} WSNotOpen
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'ManagerDestroyed'} ManagerDestroyed
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'BitFieldInvalid'} BitFieldInvalid
|
||||
|
||||
@@ -49,20 +50,29 @@
|
||||
* @property {'InviteOptionsMissingChannel'} InviteOptionsMissingChannel
|
||||
|
||||
* @property {'ButtonLabel'} ButtonLabel
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'ButtonURL'} ButtonURL
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'ButtonCustomId'} ButtonCustomId
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'SelectMenuCustomId'} SelectMenuCustomId
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'SelectMenuPlaceholder'} SelectMenuPlaceholder
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'SelectOptionLabel'} SelectOptionLabel
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'SelectOptionValue'} SelectOptionValue
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'SelectOptionDescription'} SelectOptionDescription
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'InteractionCollectorError'} InteractionCollectorError
|
||||
|
||||
* @property {'FileNotFound'} FileNotFound
|
||||
|
||||
* @property {'UserBannerNotFetched'} UserBannerNotFetched
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'UserNoDMChannel'} UserNoDMChannel
|
||||
|
||||
* @property {'VoiceNotStageChannel'} VoiceNotStageChannel
|
||||
@@ -73,13 +83,16 @@
|
||||
* @property {'ReqResourceType'} ReqResourceType
|
||||
|
||||
* @property {'ImageFormat'} ImageFormat
|
||||
* <warn>This property is deprecated.</warn>
|
||||
* @property {'ImageSize'} ImageSize
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'MessageBulkDeleteType'} MessageBulkDeleteType
|
||||
* @property {'MessageNonceType'} MessageNonceType
|
||||
* @property {'MessageContentType'} MessageContentType
|
||||
|
||||
* @property {'SplitMaxLen'} SplitMaxLen
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'BanResolveId'} BanResolveId
|
||||
* @property {'FetchBanResolveId'} FetchBanResolveId
|
||||
@@ -122,6 +135,7 @@
|
||||
* @property {'ReactionResolveUser'} ReactionResolveUser
|
||||
|
||||
* @property {'VanityURL'} VanityURL
|
||||
* <warn>This property is deprecated.</warn>
|
||||
|
||||
* @property {'InviteResolveCode'} InviteResolveCode
|
||||
|
||||
|
||||
14
packages/discord.js/typings/index.d.ts
vendored
14
packages/discord.js/typings/index.d.ts
vendored
@@ -3563,6 +3563,7 @@ export enum DiscordjsErrorCodes {
|
||||
WSConnectionExists = 'WSConnectionExists',
|
||||
/** @deprecated */
|
||||
WSNotOpen = 'WSNotOpen',
|
||||
/** @deprecated */
|
||||
ManagerDestroyed = 'ManagerDestroyed',
|
||||
|
||||
BitFieldInvalid = 'BitFieldInvalid',
|
||||
@@ -3593,20 +3594,29 @@ export enum DiscordjsErrorCodes {
|
||||
|
||||
InviteOptionsMissingChannel = 'InviteOptionsMissingChannel',
|
||||
|
||||
/** @deprecated */
|
||||
ButtonLabel = 'ButtonLabel',
|
||||
/** @deprecated */
|
||||
ButtonURL = 'ButtonURL',
|
||||
/** @deprecated */
|
||||
ButtonCustomId = 'ButtonCustomId',
|
||||
|
||||
/** @deprecated */
|
||||
SelectMenuCustomId = 'SelectMenuCustomId',
|
||||
/** @deprecated */
|
||||
SelectMenuPlaceholder = 'SelectMenuPlaceholder',
|
||||
/** @deprecated */
|
||||
SelectOptionLabel = 'SelectOptionLabel',
|
||||
/** @deprecated */
|
||||
SelectOptionValue = 'SelectOptionValue',
|
||||
/** @deprecated */
|
||||
SelectOptionDescription = 'SelectOptionDescription',
|
||||
|
||||
InteractionCollectorError = 'InteractionCollectorError',
|
||||
|
||||
FileNotFound = 'FileNotFound',
|
||||
|
||||
/** @deprecated */
|
||||
UserBannerNotFetched = 'UserBannerNotFetched',
|
||||
UserNoDMChannel = 'UserNoDMChannel',
|
||||
|
||||
@@ -3617,13 +3627,16 @@ export enum DiscordjsErrorCodes {
|
||||
|
||||
ReqResourceType = 'ReqResourceType',
|
||||
|
||||
/** @deprecated */
|
||||
ImageFormat = 'ImageFormat',
|
||||
/** @deprecated */
|
||||
ImageSize = 'ImageSize',
|
||||
|
||||
MessageBulkDeleteType = 'MessageBulkDeleteType',
|
||||
MessageNonceType = 'MessageNonceType',
|
||||
MessageContentType = 'MessageContentType',
|
||||
|
||||
/** @deprecated */
|
||||
SplitMaxLen = 'SplitMaxLen',
|
||||
|
||||
BanResolveId = 'BanResolveId',
|
||||
@@ -3666,6 +3679,7 @@ export enum DiscordjsErrorCodes {
|
||||
|
||||
ReactionResolveUser = 'ReactionResolveUser',
|
||||
|
||||
/** @deprecated */
|
||||
VanityURL = 'VanityURL',
|
||||
|
||||
InviteResolveCode = 'InviteResolveCode',
|
||||
|
||||
Reference in New Issue
Block a user