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

Copy Markdown View Source

Dispatched when an entitlement is deleted: a refund, or removal by Discord or the app. Not sent on expiry.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.EntitlementDelete{entitlement: EDA.Entitlement.t()}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.