class VoiceState
extends Base
import { VoiceState } from "https://deno.land/x/harmony@v2.8.0/src/structures/voiceState.ts";
Constructors
new
VoiceState(client: Client,
data: VoiceStatePayload,
_data: { user: User; channel: VoiceChannel | null; member?: Member; guild?: Guild; },
Properties
Methods
disconnect(): Promise<Member | undefined>
Disconnects a Member from connected VC
moveChannel(channel?: string | VoiceChannel | null): Promise<Member | undefined>
Moves a Member to another VC
readFromData(data: VoiceStatePayload): void