asMessage

fun MessageEmbed.asMessage(): Message

Build a message from an embed only.

Return

the appropriate Message.

Samples

import dev.jaims.kda.message.asMessage
import dev.jaims.kda.message.buildEmbed
import dev.jaims.kda.message.buildMessage
import java.time.LocalTime
fun main() { 
   //sampleStart 
   val message = buildEmbed {
    setTitle("Title", "https://jaims.dev")
}.asMessage() 
   //sampleEnd
}