MessageEditBuilder class

Message builder for editing messages.

Implementers

Constructors

MessageEditBuilder()

Properties

allowedMentions AllowedMentions
AllowedMentions object to control mentions in message
read / write
content String
Returns current content of message
read / write
embed EmbedBuilder
Embed to include in message
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

append(Object text) → void
Allows to append
appendBold(Object text) → void
Appends bold text to message
appendClearCharacter() → void
Appends clear character. Can be used to skip first line in message body.
appendCode(Object language, Object code) → void
Appends code block to message
appendCodeSimple(Object text) → void
Appends simple code to message
appendItalics(Object text) → void
Appends italic text to message
appendNewLine() → void
Appends empty line to message
appendSpoiler(Object text) → void
Appends spoiler to message
appendStrike(Object text) → void
Appends strikeout text to message
appendWithDecoration(Object text, MessageDecoration decoration) → void
Appends formatted text to message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setEmbed(void builder(EmbedBuilder embed)) → void
Allows to add embed to message
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

clearCharacter → const String
Clear character which can be used to skip first line in message body or sanitize message content
"‎"