indicateError

@CheckReturnValue
abstract fun indicateError(text: CharSequence): 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(embed: MessageEmbed, other: Array<MessageEmbed>): 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