aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadChannel.ts
blob: 931965127c6bbc402f188efa687cc1d456f9e6b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import {
	type BushClient,
	type BushGuild,
	type BushGuildMember,
	type BushMessageManager,
	type BushNewsChannel,
	type BushTextChannel,
	type BushThreadMemberManager
} from '@lib';
import { ThreadChannel, type Collection, type Snowflake } from 'discord.js';
import { type RawThreadChannelData } from 'discord.js/typings/rawDataTypes';

export class BushThreadChannel extends ThreadChannel {
	public declare guild: BushGuild;
	public declare messages: BushMessageManager;
	public declare members: BushThreadMemberManager;
	public declare readonly client: BushClient;
	public declare readonly guildMembers: Collection<Snowflake, BushGuildMember>;
	public declare readonly parent: BushTextChannel | BushNewsChannel | null;
	public constructor(guild: BushGuild, data?: RawThreadChannelData, client?: BushClient, fromInteraction?: boolean) {
		super(guild, data, client, fromInteraction);
	}
}