EDA.Event.VoiceServerUpdate (EDA v0.3.0)

Copy Markdown View Source

Dispatched when a guild's voice server is updated.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.VoiceServerUpdate{
  endpoint: String.t() | nil,
  guild_id: String.t() | nil,
  token: String.t() | nil
}

Functions

from_raw(raw)

@spec from_raw(map()) :: t()

Converts a raw Discord payload into this event struct.