Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

command

Method
This is a method of the BotMessage class in the protocols module.
Extract command name if this is a command message.

Signature

def command() -> Optional[str]

Returns

Returns
Optional[str]
The result of the operation.

Source

View on GitHub

praisonaiagents/bots/protocols.py at line 210