RawInputs

data class RawInputs(    val rawMessageContent: String,     val commandName: String,     val prefixCount: Int,     val commandArgs: List<String> = rawMessageContent.split(" ").drop(1))

Data class containing the raw information from the command execution.

Constructors

Link copied to clipboard
fun RawInputs(    rawMessageContent: String,     commandName: String,     prefixCount: Int,     commandArgs: List<String> = rawMessageContent.split(" ").drop(1))

Properties

Link copied to clipboard
val commandArgs: List<String>

The arguments provided to the command execution.

Link copied to clipboard
val commandName: String

The command name parses from the raw content. This is not necessarily a valid command.

Link copied to clipboard
val prefixCount: Int

The number of prefixes used to invoke this command.

Link copied to clipboard
val rawMessageContent: String

The message as it was sent from the user - no modifications.