aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushTextChannel.ts
blob: 57f0833ad9e9df467d416b2da66c5e19616abb9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import type { BushGuild, BushMessageManager, BushThreadManager } from '#lib';
import { TextChannel, type AllowedThreadTypeForTextChannel } from 'discord.js';
import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';

export class BushTextChannel extends TextChannel {
	public declare guild: BushGuild;
	public declare messages: BushMessageManager;
	public declare threads: BushThreadManager<AllowedThreadTypeForTextChannel>;

	public constructor(guild: BushGuild, data?: RawGuildChannelData) {
		super(guild, data);
	}
}