On Command • Rust AI Agent SDK
on_command: Handle command
on_command
Async
Method
</div>
This is a method of the BotProtocol class in the protocols module.
Handle command
Signature
async def on_command(&self, command: &str, args: &[&str]) -> Result<BotResponse>Parameters
ParamField
&strNo description available.
ParamField
&[&str]No description available.