aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadMember.ts
blob: a316046df9a679366a32080f22e2d3fca9355325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import type { BushGuildMember, BushThreadChannel, BushUser } from '#lib';
import { ThreadMember } from 'discord.js';
import type { RawThreadMemberData } from 'discord.js/typings/rawDataTypes';

/**
 * Represents a Member for a Thread.
 */
export class BushThreadMember extends ThreadMember {
	public declare readonly guildMember: BushGuildMember | null;
	public declare readonly user: BushUser | null;
	public declare thread: BushThreadChannel;

	public constructor(thread: BushThreadChannel, data?: RawThreadMemberData) {
		super(thread, data);
	}
}