Nostrum.Struct.Event.SpeakingUpdate (Nostrum v0.4.6) View Source
Struct representing a Nostrum-generated Speaking Update event
Nostrum will generate this event when the bot starts or stops playing audio.
Link to this section Summary
Types
Id of the channel this speaking update is occurring in.
Id of the guild this speaking update is occurring in.
Boolean representing if bot has started or stopped speaking.
Link to this section Types
Specs
channel_id() :: Channel.id()
Id of the channel this speaking update is occurring in.
Specs
guild_id() :: Guild.id()
Id of the guild this speaking update is occurring in.
Specs
speaking() :: boolean()
Boolean representing if bot has started or stopped speaking.
Specs
t() :: %Nostrum.Struct.Event.SpeakingUpdate{ channel_id: channel_id(), guild_id: guild_id(), speaking: speaking() }