mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +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
|
* @property {'WSNotOpen'} WSNotOpen
|
||||||
* <warn>This property is deprecated.</warn>
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'ManagerDestroyed'} ManagerDestroyed
|
* @property {'ManagerDestroyed'} ManagerDestroyed
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'BitFieldInvalid'} BitFieldInvalid
|
* @property {'BitFieldInvalid'} BitFieldInvalid
|
||||||
|
|
||||||
@@ -49,20 +50,29 @@
|
|||||||
* @property {'InviteOptionsMissingChannel'} InviteOptionsMissingChannel
|
* @property {'InviteOptionsMissingChannel'} InviteOptionsMissingChannel
|
||||||
|
|
||||||
* @property {'ButtonLabel'} ButtonLabel
|
* @property {'ButtonLabel'} ButtonLabel
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'ButtonURL'} ButtonURL
|
* @property {'ButtonURL'} ButtonURL
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'ButtonCustomId'} ButtonCustomId
|
* @property {'ButtonCustomId'} ButtonCustomId
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'SelectMenuCustomId'} SelectMenuCustomId
|
* @property {'SelectMenuCustomId'} SelectMenuCustomId
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'SelectMenuPlaceholder'} SelectMenuPlaceholder
|
* @property {'SelectMenuPlaceholder'} SelectMenuPlaceholder
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'SelectOptionLabel'} SelectOptionLabel
|
* @property {'SelectOptionLabel'} SelectOptionLabel
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'SelectOptionValue'} SelectOptionValue
|
* @property {'SelectOptionValue'} SelectOptionValue
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'SelectOptionDescription'} SelectOptionDescription
|
* @property {'SelectOptionDescription'} SelectOptionDescription
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'InteractionCollectorError'} InteractionCollectorError
|
* @property {'InteractionCollectorError'} InteractionCollectorError
|
||||||
|
|
||||||
* @property {'FileNotFound'} FileNotFound
|
* @property {'FileNotFound'} FileNotFound
|
||||||
|
|
||||||
* @property {'UserBannerNotFetched'} UserBannerNotFetched
|
* @property {'UserBannerNotFetched'} UserBannerNotFetched
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'UserNoDMChannel'} UserNoDMChannel
|
* @property {'UserNoDMChannel'} UserNoDMChannel
|
||||||
|
|
||||||
* @property {'VoiceNotStageChannel'} VoiceNotStageChannel
|
* @property {'VoiceNotStageChannel'} VoiceNotStageChannel
|
||||||
@@ -73,13 +83,16 @@
|
|||||||
* @property {'ReqResourceType'} ReqResourceType
|
* @property {'ReqResourceType'} ReqResourceType
|
||||||
|
|
||||||
* @property {'ImageFormat'} ImageFormat
|
* @property {'ImageFormat'} ImageFormat
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
* @property {'ImageSize'} ImageSize
|
* @property {'ImageSize'} ImageSize
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'MessageBulkDeleteType'} MessageBulkDeleteType
|
* @property {'MessageBulkDeleteType'} MessageBulkDeleteType
|
||||||
* @property {'MessageNonceType'} MessageNonceType
|
* @property {'MessageNonceType'} MessageNonceType
|
||||||
* @property {'MessageContentType'} MessageContentType
|
* @property {'MessageContentType'} MessageContentType
|
||||||
|
|
||||||
* @property {'SplitMaxLen'} SplitMaxLen
|
* @property {'SplitMaxLen'} SplitMaxLen
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'BanResolveId'} BanResolveId
|
* @property {'BanResolveId'} BanResolveId
|
||||||
* @property {'FetchBanResolveId'} FetchBanResolveId
|
* @property {'FetchBanResolveId'} FetchBanResolveId
|
||||||
@@ -122,6 +135,7 @@
|
|||||||
* @property {'ReactionResolveUser'} ReactionResolveUser
|
* @property {'ReactionResolveUser'} ReactionResolveUser
|
||||||
|
|
||||||
* @property {'VanityURL'} VanityURL
|
* @property {'VanityURL'} VanityURL
|
||||||
|
* <warn>This property is deprecated.</warn>
|
||||||
|
|
||||||
* @property {'InviteResolveCode'} InviteResolveCode
|
* @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',
|
WSConnectionExists = 'WSConnectionExists',
|
||||||
/** @deprecated */
|
/** @deprecated */
|
||||||
WSNotOpen = 'WSNotOpen',
|
WSNotOpen = 'WSNotOpen',
|
||||||
|
/** @deprecated */
|
||||||
ManagerDestroyed = 'ManagerDestroyed',
|
ManagerDestroyed = 'ManagerDestroyed',
|
||||||
|
|
||||||
BitFieldInvalid = 'BitFieldInvalid',
|
BitFieldInvalid = 'BitFieldInvalid',
|
||||||
@@ -3593,20 +3594,29 @@ export enum DiscordjsErrorCodes {
|
|||||||
|
|
||||||
InviteOptionsMissingChannel = 'InviteOptionsMissingChannel',
|
InviteOptionsMissingChannel = 'InviteOptionsMissingChannel',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
ButtonLabel = 'ButtonLabel',
|
ButtonLabel = 'ButtonLabel',
|
||||||
|
/** @deprecated */
|
||||||
ButtonURL = 'ButtonURL',
|
ButtonURL = 'ButtonURL',
|
||||||
|
/** @deprecated */
|
||||||
ButtonCustomId = 'ButtonCustomId',
|
ButtonCustomId = 'ButtonCustomId',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
SelectMenuCustomId = 'SelectMenuCustomId',
|
SelectMenuCustomId = 'SelectMenuCustomId',
|
||||||
|
/** @deprecated */
|
||||||
SelectMenuPlaceholder = 'SelectMenuPlaceholder',
|
SelectMenuPlaceholder = 'SelectMenuPlaceholder',
|
||||||
|
/** @deprecated */
|
||||||
SelectOptionLabel = 'SelectOptionLabel',
|
SelectOptionLabel = 'SelectOptionLabel',
|
||||||
|
/** @deprecated */
|
||||||
SelectOptionValue = 'SelectOptionValue',
|
SelectOptionValue = 'SelectOptionValue',
|
||||||
|
/** @deprecated */
|
||||||
SelectOptionDescription = 'SelectOptionDescription',
|
SelectOptionDescription = 'SelectOptionDescription',
|
||||||
|
|
||||||
InteractionCollectorError = 'InteractionCollectorError',
|
InteractionCollectorError = 'InteractionCollectorError',
|
||||||
|
|
||||||
FileNotFound = 'FileNotFound',
|
FileNotFound = 'FileNotFound',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
UserBannerNotFetched = 'UserBannerNotFetched',
|
UserBannerNotFetched = 'UserBannerNotFetched',
|
||||||
UserNoDMChannel = 'UserNoDMChannel',
|
UserNoDMChannel = 'UserNoDMChannel',
|
||||||
|
|
||||||
@@ -3617,13 +3627,16 @@ export enum DiscordjsErrorCodes {
|
|||||||
|
|
||||||
ReqResourceType = 'ReqResourceType',
|
ReqResourceType = 'ReqResourceType',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
ImageFormat = 'ImageFormat',
|
ImageFormat = 'ImageFormat',
|
||||||
|
/** @deprecated */
|
||||||
ImageSize = 'ImageSize',
|
ImageSize = 'ImageSize',
|
||||||
|
|
||||||
MessageBulkDeleteType = 'MessageBulkDeleteType',
|
MessageBulkDeleteType = 'MessageBulkDeleteType',
|
||||||
MessageNonceType = 'MessageNonceType',
|
MessageNonceType = 'MessageNonceType',
|
||||||
MessageContentType = 'MessageContentType',
|
MessageContentType = 'MessageContentType',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
SplitMaxLen = 'SplitMaxLen',
|
SplitMaxLen = 'SplitMaxLen',
|
||||||
|
|
||||||
BanResolveId = 'BanResolveId',
|
BanResolveId = 'BanResolveId',
|
||||||
@@ -3666,6 +3679,7 @@ export enum DiscordjsErrorCodes {
|
|||||||
|
|
||||||
ReactionResolveUser = 'ReactionResolveUser',
|
ReactionResolveUser = 'ReactionResolveUser',
|
||||||
|
|
||||||
|
/** @deprecated */
|
||||||
VanityURL = 'VanityURL',
|
VanityURL = 'VanityURL',
|
||||||
|
|
||||||
InviteResolveCode = 'InviteResolveCode',
|
InviteResolveCode = 'InviteResolveCode',
|
||||||
|
|||||||
Reference in New Issue
Block a user