Remedy.Struct.Event.VoiceReady (Remedy v0.5.2) View Source
Struct representing a Remedy-generated Voice Ready event
Remedy will generate this event when the bot joins a voice channel and is ready to play audio.
Listening to this event may be used for bots that begin playing audio
directly after joining a voice channel as an alternative to waiting
until Remedy.Voice.ready?/1
returns true
.
Link to this section Summary
Link to this section Types
Specs
channel_id() :: Remedy.Struct.Channel.id()
Id of the channel that voice is ready in.
Specs
guild_id() :: Remedy.Struct.Guild.id()
Id of the guild that voice is ready in.
Specs
t() :: %Remedy.Struct.Event.VoiceReady{ channel_id: channel_id(), guild_id: guild_id() }