sendMessage

suspend fun MessageChannel.sendMessage(content: String): Message

Builds a message spec with only content and sends it in the specified channel.


suspend fun MessageChannel.sendMessage(block: MessageBuilder.() -> Unit): Message

Builds a MessageCreateSpec and sends it in the specified channel.


suspend fun MessageChannel.sendMessage(template: MessageCreateSpec): Message

Sends a message in the specified channel based on the MessageCreateSpec.


suspend fun MessageChannel.sendMessage(vararg specs: EmbedCreateSpec): Message

Sends a message with an embed in the specified channel based on the EmbedCreateSpec.