Dispatched when a user uses an application command or component.
Summary
Functions
Converts a raw Discord payload into this event struct.
Types
@type t() :: %EDA.Event.InteractionCreate{ app_permissions: String.t() | nil, application_id: String.t() | nil, channel_id: String.t() | nil, data: map() | nil, entitlements: [map()] | nil, guild_id: String.t() | nil, guild_locale: String.t() | nil, id: String.t() | nil, locale: String.t() | nil, member: EDA.Member.t() | nil, message: EDA.Message.t() | nil, token: String.t() | nil, type: integer() | nil, user: EDA.User.t() | nil }