LemonChannels. Adapters. Discord. Outbound
(lemon_channels v0.1.0)
View Source
Outbound message delivery for Discord.
Summary
Functions
Add a reaction emoji to a message.
Remove bot's own reaction from a message.
Edit a message updating content and/or components.
Send a message with components (buttons, select menus).
Functions
Add a reaction emoji to a message.
Remove bot's own reaction from a message.
@spec deliver(LemonChannels.OutboundPayload.t()) :: {:ok, term()} | {:error, term()}
@spec edit_with_components(integer(), integer(), binary(), list()) :: {:ok, map()} | {:error, term()}
Edit a message updating content and/or components.
@spec send_with_components(integer(), binary(), list(), keyword()) :: {:ok, map()} | {:error, term()}
Send a message with components (buttons, select menus).