@@ -3812,11 +3812,13 @@ export enum DiscordjsErrorCodes {
3812
3812
GuildForumMessageRequired = 'GuildForumMessageRequired' ,
3813
3813
}
3814
3814
3815
+ /** @internal */
3815
3816
export interface DiscordjsErrorFields < Name extends string > {
3816
3817
readonly name : `${Name } [${DiscordjsErrorCodes } ]`;
3817
3818
get code ( ) : DiscordjsErrorCodes ;
3818
3819
}
3819
3820
3821
+ /** @internal */
3820
3822
export function DiscordjsErrorMixin < Entity , Name extends string > (
3821
3823
Base : Constructable < Entity > ,
3822
3824
name : Name ,
@@ -4365,10 +4367,13 @@ export class VoiceStateManager extends CachedManager<Snowflake, VoiceState, type
4365
4367
// to each of those classes
4366
4368
4367
4369
export type Constructable < Entity > = abstract new ( ...args : any [ ] ) => Entity ;
4370
+
4371
+ /** @internal */
4368
4372
export function PartialTextBasedChannel < Entity > (
4369
4373
Base ?: Constructable < Entity > ,
4370
4374
) : Constructable < Entity & PartialTextBasedChannelFields < false > > ;
4371
4375
4376
+ /** @internal */
4372
4377
export function TextBasedChannelMixin <
4373
4378
Entity ,
4374
4379
InGuild extends boolean = boolean ,
@@ -4409,9 +4414,12 @@ export interface TextBasedChannelFields<InGuild extends boolean = boolean>
4409
4414
setNSFW ( nsfw ?: boolean , reason ?: string ) : Promise < this> ;
4410
4415
}
4411
4416
4417
+ /** @internal */
4412
4418
export function PartialWebhookMixin < Entity > ( Base ?: Constructable < Entity > ) : Constructable < Entity & PartialWebhookFields > ;
4419
+ /** @internal */
4413
4420
export function WebhookMixin < Entity > ( Base ?: Constructable < Entity > ) : Constructable < Entity & WebhookFields > ;
4414
4421
4422
+ /** @internal */
4415
4423
export interface PartialWebhookFields {
4416
4424
id : Snowflake ;
4417
4425
get url ( ) : string ;
@@ -4426,6 +4434,7 @@ export interface PartialWebhookFields {
4426
4434
) : Promise < APIMessage | Message > ;
4427
4435
}
4428
4436
4437
+ /** @internal */
4429
4438
export interface WebhookFields extends PartialWebhookFields {
4430
4439
get createdAt ( ) : Date ;
4431
4440
get createdTimestamp ( ) : number ;
0 commit comments