class

Enkaidu::Slash::StateCommand

Inherits Enkaidu::Slash::Command < Reference < Object

Constants

HELP = "#{HELP_BRIEF}\n- `global (or g) namespaces (or ns)`\n - List namespaces in the global state\n- `global (or g) set ns=NAMESPACE key=KEY value=STR`\n - Set a global state key/value within the given namespace\n- `global (or g) get ns=NAMESPACE key=KEY`\n - Get a global state value for a key within the given namespace"
HELP_BRIEF = "`#{NAME} <sub-command>` - State management"
NAME = "/state"

Instance methods

brief

One line help, in Markdown

Source
handle(session_manager : SessionManager, cmd : CommandParser)
Source
help

Detailed help, in Markdown

Source
name
Source