CommandResult

open class CommandResult

Command result

Constructors

Link copied to clipboard
constructor()
calls CommandResult with default arguments.
constructor(@Nullable content: String)
calls CommandResult with default arguments.
constructor(@Nullable content: String, @Nullable embeds: List<MessageEmbed>, send: Boolean)
constructor(@Nullable content: String, @Nullable embeds: List<MessageEmbed>, send: Boolean, username: String)
constructor(@Nullable content: String, @Nullable embeds: List<MessageEmbed>, send: Boolean, @Nullable username: String, @Nullable avatarUrl: String)
constructor(@Nullable content: String, @Nullable embeds: List<MessageEmbed>, send: Boolean, @Nullable username: String, @Nullable avatarUrl: String, @Nullable buttons: List<ButtonsAPI.ButtonData>)

Properties

Link copied to clipboard
open var avatarUrl: String
The avatar url of the pseudo clyde associated with this CommandResult
Link copied to clipboard
Button components that will appear on the response message
Link copied to clipboard
open var content: String
The message content
Link copied to clipboard
open var embeds: List<MessageEmbed>
The embeds
Link copied to clipboard
open var send: Boolean
Whether the result should be sent visible for everyone
Link copied to clipboard
open var username: String
The username of the pseudo clyde associated with this CommandResult