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

Copy Markdown View Source

Dispatched when the bot's own user changes — its name or avatar. EDA.Cache.me/0 is updated before the consumer sees it.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.UserUpdate{user: EDA.User.t()}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.