AI Instructions for Code Generation
Important
Before generating any code for MAXRubika, you must read the following documentation pages completely and carefully. Do not generate code from memory or assumptions. Use the documentation as the only source of truth.
For Userbot (Self-Bot / Client)
- Messenger Documentation
- Client Methods
- Bot Methods
- Channel Methods
- Group Methods
- User Methods
- Settings Methods
- Other Methods
- Chats
- Chat Info
- Chat Management
- Chat Members
- Chat Settings
- Voice Chat
- Chat Utility
- Messages
- Send Messages
- Fetch Messages
- Message Actions
- Message Utility
- Client Decorators
- Client Filters
- Client Properties
- Client Examples
- Client More
For Bot
Rules
- Always check parameters, types, and defaults from the documentation.
- Always include
try/exceptwhen calling methods. - Use
awaitonly where the documentation shows async usage. - Never invent method names or parameters. If something is not documented, say it is not documented.
After reviewing the documentation, generate clean, accurate, and optimized code based on the user's request.