register_command
Method
This is a method of the ChatCommandProtocol class in the protocols module.Register a chat command handler.
Signature
Parameters
str
required
Command name (without /)
Callable
required
Async callable to handle the command
str
default:"''"
Human-readable description
Optional[str]
Usage example string
Source
View on GitHub
praisonaiagents/bots/protocols.py at line 1113
