blob: f5c6301848e433c09691d017b273bdd73e123da8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
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 guild: BushGuild;
public constructor(guild: BushGuild, data: RawVoiceStateData) {
super(guild, data);
}
}
export interface BushVoiceState {
get channel(): BushVoiceBasedChannel | null;
get getmember(): BushGuildMember | null;
}
|