Skip to content

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)


For Bot


Rules

  1. Always check parameters, types, and defaults from the documentation.
  2. Always include try/except when calling methods.
  3. Use await only where the documentation shows async usage.
  4. 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.