aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushStoreChannel.ts
blob: 85409361bb75fb610e534d7a16de4d495f1e67f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import type { BushCategoryChannel, BushClient, BushGuild, BushGuildMember } from '#lib';
import { StoreChannel, type Collection, type Snowflake } from 'discord.js';
import type { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';

export class BushStoreChannel extends StoreChannel {
	public declare guild: BushGuild;
	public declare readonly members: Collection<Snowflake, BushGuildMember>;
	public declare readonly parent: BushCategoryChannel | null;

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