aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushStoreChannel.ts
blob: 20bfeaba9fbed66dc36d5f2977fb90a3c4c02c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { Collection, Snowflake, StoreChannel } from 'discord.js';
import { RawGuildChannelData } from 'discord.js/typings/rawDataTypes';
import { BushClient } from '../discord-akairo/BushClient';
import { BushCategoryChannel } from './BushCategoryChannel';
import { BushGuild } from './BushGuild';
import { BushGuildMember } from './BushGuildMember';

export class BushStoreChannel extends StoreChannel {
	public declare readonly client: BushClient;
	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);
	}
}