narupa.command.command_info module

class narupa.command.command_info.CommandInfo(name, **arguments)

Bases: object

A wrapper around an underlying protobuf CommandMessage, providing information about a given command.

Parameters:
  • name – Name of the command.
  • arguments – Dictionary of command arguments.
arguments

Gets a copy of the default arguments this command accepts, as a dictionary.

Returns:Dictionary of default arguments.
classmethod from_proto(raw)
name