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
constructor(rawMessageContent: String, commandName: String, prefixCount: Int, commandArgs: List<String> = rawMessageContent.split(" ").drop(1))

Properties

Link copied to clipboard

The arguments provided to the command execution.

Link copied to clipboard

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

Link copied to clipboard

The number of prefixes used to invoke this command.

Link copied to clipboard

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