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

export class BushTextChannel extends TextChannel {
	public declare readonly client: BushClient;
	public declare guild: BushGuild;
	public declare messages: BushMessageManager;
	public declare threads: BushThreadManager<AllowedThreadTypeForTextChannel>;
	public constructor(guild: BushGuild, data?: RawGuildChannelData) {
		super(guild, data);
	}
}