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

Copy Markdown View Source

Dispatched when a premium app subscription is created. Its status may still be inactive: grant perks on entitlements, not here.

Summary

Functions

Converts a raw Discord payload into this event struct.

Types

t()

@type t() :: %EDA.Event.SubscriptionCreate{subscription: EDA.Subscription.t()}

Functions

from_raw(raw)

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

Converts a raw Discord payload into this event struct.