ReplyImpl

class ReplyImpl(val yde: YDE, val content: String?, val embed: Embed?, val id: String, val token: String) : Reply(source)

Constructors

Link copied to clipboard
constructor(yde: YDE, content: String?, embed: Embed?, id: String, token: String)

Functions

Link copied to clipboard
open override fun addActionRow(actionRow: ComponentImpl.ComponentCreator): Reply

Adds an ActionRow to the reply.

Link copied to clipboard
open override fun addFlags(vararg flags: MessageFlag): Reply
open override fun addFlags(flags: List<MessageFlag>): Reply

Adds any other message flag to the reply.

Link copied to clipboard
open override fun setEphemeral(isEphemeral: Boolean): Reply

Sets the reply as an ephemeral message.

Link copied to clipboard
open override fun setTTS(isTTS: Boolean): Reply

Sets the reply as a 'text to speech' message.

Link copied to clipboard
open suspend fun trigger(): NoResult

Triggers the reply.

Link copied to clipboard
open override fun triggerWithFuture(): CompletableDeferred<NoResult>

Replies and return a CompletableDeferred that will be completed when the reply is sent.

Properties

Link copied to clipboard
Link copied to clipboard
val embed: Embed?
Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
val yde: YDE