blob: 3f1920142459ce096e244a2740e18603460735ae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
import type { BushClient, BushGuild, BushGuildMember, BushVoiceBasedChannel } from '#lib';
import { VoiceState } from 'discord.js';
import type { RawVoiceStateData } from 'discord.js/typings/rawDataTypes';
/**
* Represents the voice state for a Guild Member.
*/
export class BushVoiceState extends VoiceState {
public declare readonly client: BushClient;
public declare readonly channel: BushVoiceBasedChannel | null;
public declare guild: BushGuild;
public declare readonly member: BushGuildMember | null;
public constructor(guild: BushGuild, data: RawVoiceStateData) {
super(guild, data);
}
}
|