Smith::ChatCommands::Definition
Inherits Struct < Value < Object
One row of the command table. argument names an expected argument
("/rename <name>") or is nil for bare commands; requires_argument
says the command is meaningless without one.
Constructors
new(command : ChatCommand, verb : String, description : String, argument : String | Nil = nil, requires_argument : Bool = false)
SourceInstance methods
argument
clone
Sourcecommand
copy_with(command _command = @command, verb _verb = @verb, description _description = @description, argument _argument = @argument, requires_argument _requires_argument = @requires_argument)
Sourcedescription
requires_argument
verb