Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
open fun addFile(name: String, contentProvider: ChannelProvider): NamedFile

Adds a file with the name and contentProvider to the attachments.

Link copied to clipboard
fun MessageModifyBuilder.addFile(path: Path): NamedFile

Adds a file with the given path to the attachments.

Link copied to clipboard

Configures the mentions that should trigger a ping. Not calling this function will result in the default behavior (ping everything), calling this function but not configuring it before the request is build will result in all pings being ignored.

Link copied to clipboard
inline fun MessageModifyBuilder.embed(block: EmbedBuilder.() -> Unit)
Link copied to clipboard
inline fun MessageModifyBuilder.messageFlags(builder: MessageFlags.Builder.() -> Unit)

Sets/Unsets the MessageFlags for this message.

Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
open override var attachments: MutableList<DiscordAttachment>?
Link copied to clipboard
Link copied to clipboard
open override var content: String?
Link copied to clipboard
open override var embeds: MutableList<EmbedBuilder>?
Link copied to clipboard
open override var files: MutableList<NamedFile>?

The files to include as attachments

Link copied to clipboard
open override var flags: MessageFlags?

Optional custom MessageFlags to update in this message.

Link copied to clipboard
open override var suppressEmbeds: Boolean?

Do not include any embeds when serializing this message.