respondAndDelete

open suspend fun Message.respondAndDelete(message: String): Message(source)

Send a message in the same channel as this message and delete the original message.

Parameters

message

the message to respond with

See also


open suspend fun Message.respondAndDelete(message: String = "", block: Embed.() -> Unit): Message(source)

Send a message in the same channel as this message and delete the original message.

Parameters

message

the message to respond with

block

the embed builder

See also