Commands
Overview
Lillo's chat system includes a comprehensive set of commands for managing conversations, interactions, and bot behavior. These commands provide granular control over chat behavior, message handling, bot responses, and agent configurations.
Core Commands
Message Control
/msg
/msg
Description: Send a message to the community
Usage:
/msg <message>
Access: DM only
Example:
Chat Management
/settings
/settings
Description: Configure chat settings
Usage:
/settings
Access: Admin only
Options:
Model preferences
Response style
Function permissions
Agent configuration
Rate limits
/clear
/clear
Description: Clear recent chat history
Usage:
/clear [number]
Access: Admin only
Parameters:
number
: Optional, number of messages to clear (default: 50)
Agent Management
/myagents
/myagents
Description: List and manage your agents
Usage:
/myagents
Access: All users
Features:
View active agents
Switch agents
Configure agent settings
/newagent
/newagent
Description: Create a new agent
Usage:
/newagent
Access: Admin only
Steps:
Token verification
Personality setup
Social configuration
Crypto settings
Function Integration
Image Generation
Weather Data
Market Data
Time Information
Command Handling
Command Context
Command Response
Command Handler
Response Formatting
User Mentions
Format:
{mention:USER_ID:USER_NAME}
Example:
{mention:123456:John}
Usage: Direct user references in responses
Message Structure
Command Metrics
Metrics Collection
Storage
Error Handling
Rate Limiting
Content Policy
Permission Errors
Best Practices
Command Usage
Use commands in appropriate contexts
Follow rate limiting guidelines
Check command permissions
Validate input parameters
Handle all error cases
Message Formatting
Use proper mention syntax
Include necessary context
Follow response guidelines
Escape special characters
Handle markdown/HTML properly
Error Recovery
Handle errors gracefully
Provide clear error messages
Implement retry logic
Log failures appropriately
Maintain user experience
Performance
Cache command results
Use efficient queries
Implement timeouts
Handle concurrent requests
Monitor execution times
Related Documentation
Last updated