sendEmbeddedReply

suspend fun ChannelClient.sendEmbeddedReply(message: Message, reply: String = "", components: List<ActionRow>? = null, block: Embed.() -> Unit): Message(source)

Calls ChannelClient.createMessage to reply to a specific text message with an embedded message without needing to create a CreateMessage object first. Also accepts a lambda that can be used to configure an Embed object.

Return

the created Message.

Parameters

message

The message to reply to.

reply

The text reply message to send.

components

The message components to use. Null for none.

block

The block to configure the Embed object with.

Throws

upon client errors.