respond

@CheckReturnValue
abstract fun respond(@NotNull text: @NotNull CharSequence): @NotNull MessageCreateAction(source)

Sends a response 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 respond(@NotNull embed: @NotNull MessageEmbed, @NotNull other: Array<@NotNull MessageEmbed>): @NotNull MessageCreateAction(source)

Sends a response 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