Remedy.Schema.InteractionData (Remedy v0.6.8) View Source

This is the center point between Commands, Interactions and Components.

Should probably be the center point of any command framework

Link to this section Summary

Link to this section Types

Specs

t() :: %Remedy.Schema.InteractionData{
  component_type: integer(),
  custom_id: String.t(),
  id: Sunbake.Snowflake.t(),
  name: String.t(),
  options: [Remedy.Schema.InteractionDataOption.t()],
  resolved: Remedy.Schema.InteractionDataResolved.t(),
  target_id: Sunbake.Snowflake.t(),
  type: integer(),
  values: [String.t()]
}

Link to this section Functions

Link to this function

changeset(model \\ %__MODULE__{}, params)

View Source