respond
suspend fun Message.respond(content: String, useReply: Boolean = true, pingInReply: Boolean = true): Message
Respond to a message in the channel it was sent to, mentioning the author.
Return
The newly-created response message.
Parameters
useReply
Whether to use Discord's replies feature to respond, instead of a mention. Defaults to true.
content
Message content.
suspend fun Message.respond(useReply: Boolean = true, pingInReply: Boolean = true, builder: suspend MessageCreateBuilder.() -> Unit): Message
Respond to a message in the channel it was sent to, mentioning the author.
Return
The newly-created response message.