aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushVoiceState.ts
blob: a479143a5bc1c5d73b0a4f175656b941609f340b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { BushGuild, BushGuildMember, BushStageChannel, BushVoiceChannel } from '#lib';
import { VoiceState } from 'discord.js';
import type { RawVoiceStateData } from 'discord.js/typings/rawDataTypes';

export class BushVoiceState extends VoiceState {
	// public declare readonly client: BushClient;
	public declare readonly channel: BushVoiceChannel | BushStageChannel | null;
	public declare guild: BushGuild;
	public declare readonly member: BushGuildMember | null;

	public constructor(guild: BushGuild, data: RawVoiceStateData) {
		super(guild, data);
	}
}