ChatCommandProtocol
Defined in the protocols module.AI Agent Protocol for bots that support standardized chat commands. Extends BotProtocol with chat command registration and listing. Implementations should track registered commands and expose them for /help listings and command dispatching.
Methods
register_command()
Register a chat command handler.
list_commands()
List all registered chat commands.
Source
View on GitHub
praisonaiagents/bots/protocols.py at line 1105
