LemonChannels.Adapters.Discord.StatusRenderer (lemon_channels v0.1.0)

View Source

Renders Discord message components for run status messages.

Generates action rows with buttons for cancel, keep-waiting, and stop controls on progress/status messages.

Summary

Functions

Build an action row containing components.

Build a button component.

Build a string select menu component.

Build a select menu option.

Functions

action_row(components)

Build an action row containing components.

button(label, custom_id, opts \\ [])

Build a button component.

components(arg1)

@spec components(LemonCore.DeliveryIntent.t()) :: list() | nil

select_menu(custom_id, options, opts \\ [])

Build a string select menu component.

select_option(label, value, opts \\ [])

Build a select menu option.