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

export class BushVoiceState extends VoiceState {
	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);
	}
}