struct

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)
Source

Instance methods

argument
clone
Source
command
copy_with(command _command = @command, verb _verb = @verb, description _description = @description, argument _argument = @argument, requires_argument _requires_argument = @requires_argument)
Source
description
requires_argument
verb