aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushThreadChannel.ts
blob: 455939d8e8caeb106e5b05aca54a5303d77050a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* eslint-disable @typescript-eslint/ban-types */

import { Collection, Snowflake, ThreadChannel } from 'discord.js';
import { BushClient } from '../discord-akairo/BushClient';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';
import { BushMessageManager } from './BushMessageManager';
import { BushNewsChannel } from './BushNewsChannel';
import { BushTextChannel } from './BushTextChannel';
import { BushThreadMemberManager } from './BushThreadMemberManager';

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?: object) {
		super(guild, data);
	}
}