EDA.Event.GuildDelete (EDA v0.3.0)

Copy Markdown View Source

Dispatched when a guild becomes unavailable or the bot is removed.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.GuildDelete{
  id: String.t() | nil,
  unavailable: boolean() | nil
}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.