class

Worker::DiscordClient::VoiceClient

Inherits Reference < Object

Discord voice client facade

Instance methods

current_frame

Returns current frame (originally 'frame' is 20 ms of playback)

Source
on_close

Setup WS close event listener

Source
play(audio : AudioPlayer::Audio, skip_frames : UInt64 = 0_u64) : Nil

Play single track

Source
stop

Stop playback

Source
voice_server_update(endpoint : String, token : String, session_id : String) : Nil

VSU event handler

Source