EDA.Event.GuildSoundboardSoundsUpdate (EDA v0.5.0-beta.2)

Copy Markdown View Source

Dispatched when several of a guild's soundboard sounds change at once. Needs the :guild_expressions intent.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.GuildSoundboardSoundsUpdate{
  guild_id: String.t() | nil,
  soundboard_sounds: [EDA.SoundboardSound.t()]
}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.