aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildChannel.ts
blob: 6880daf2564b99a7e9639fd3df6aa768bdf968b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import type { BushClient, BushGuild } from '#lib';
import { GuildChannel } from 'discord.js';
import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';

/**
 * Represents a guild channel from any of the following:
 * - {@link BushTextChannel}
 * - {@link BushVoiceChannel}
 * - {@link BushCategoryChannel}
 * - {@link BushNewsChannel}
 * - {@link BushStoreChannel}
 * - {@link BushStageChannel}
 */
export class BushGuildChannel extends GuildChannel {
	public declare readonly client: BushClient;
	public declare guild: BushGuild;

	public constructor(guild: BushGuild, data?: RawGuildChannelData, client?: BushClient, immediatePatch?: boolean) {
		super(guild, data, client, immediatePatch);
	}
}