sendReply

suspend fun ChannelClient.sendReply(message: Message, reply: String = "", embed: Embed? = null, components: List<ActionRow>? = null): Message(source)

Calls ChannelClient.createMessage to reply to a specific text message without needing to create a CreateMessage object first.

Return

the created Message.

Parameters

message

The message to reply to.

reply

The text reply message to send.

embed

The embed to include with the message.

components

The message components to use. Null for none.

Throws

upon client errors.