indicateError

@CheckReturnValue
abstract fun indicateError(@NotNull text: @NotNull CharSequence): @NotNull RestAction<Message>(source)

Sends an error reply in the event's channel

Return

RestAction to send the message

Parameters

text

CharSequence to send to the event channel

See also


@CheckReturnValue
abstract fun indicateError(@NotNull embed: @NotNull MessageEmbed, @NotNull other: Array<@NotNull MessageEmbed>): @NotNull RestAction<Message>(source)

Sends an error reply in the event's channel

Return

RestAction to send the message

Parameters

embed

MessageEmbed to send to the event channel

other

Additional embeds to send

See also