Package-level declarations

Types

Link copied to clipboard

The mentions that should trigger a ping. See the Discord documentation.

Link copied to clipboard

A builder for discord embeds.

Link copied to clipboard
interface MessageBuilder

Functions

Link copied to clipboard
inline fun MessageBuilder.actionRow(builder: ActionRowBuilder.() -> Unit)

Adds an action row configured by the builder to the components of the message.

Link copied to clipboard
inline fun MessageBuilder.addFile(name: String, contentProvider: ChannelProvider, builder: AttachmentBuilder.() -> Unit): NamedFile

Adds a file with name and contentProvider to files.

inline fun MessageBuilder.addFile(path: Path, builder: AttachmentBuilder.() -> Unit): NamedFile

Adds a file with the given path to files.

Link copied to clipboard

Configures the mentions in the message that are allowed to trigger a ping.

Link copied to clipboard
inline fun MessageBuilder.embed(builder: EmbedBuilder.() -> Unit)

Adds an embed configured by builder to the embeds of the message.

Link copied to clipboard

Sets the flags for the message.