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:
Jiralite
2023-09-17 22:52:38 +01:00
committed by GitHub
parent b6a2441819
commit 4588e075c3
2 changed files with 28 additions and 0 deletions

View File

@@ -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

View File

@@ -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',