aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushNewsChannel.ts
blob: 96826328940bbea8c65fb76981ddf69f2631cb4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { AllowedThreadTypeForNewsChannel, NewsChannel } from 'discord.js';
import { BushClient } from '../discord-akairo/BushClient';
import { BushGuild } from './BushGuild';
import { BushMessageManager } from './BushMessageManager';
import { BushThreadManager } from './BushThreadManager';

export class BushNewsChannel extends NewsChannel {
	public declare readonly client: BushClient;
	public declare guild: BushGuild;
	public declare messages: BushMessageManager;
	public declare threads: BushThreadManager<AllowedThreadTypeForNewsChannel>;
	// eslint-disable-next-line @typescript-eslint/ban-types
	public constructor(guild: BushGuild, data?: object) {
		super(guild, data);
	}
}