Skip to content

Owner Commands ​

Commands restricted to the bot owner. Set yourself as owner with /config owner me.

If no owner is configured yet, you can bootstrap ownership from a private chat with:

/config owner me

or:

/setup owner me

Owner Only

These commands have full system access. Only the configured bot owner can use them.

/config ​

Manage bot configuration live from WhatsApp.

/config                      # Show current config overview
/config owner me             # Set yourself as owner
/config prefix <prefix>      # Change command prefix
/config diff                 # Show config changes vs defaults (image)
/config diff text            # Show config changes as plain text
/config validate             # Validate config against schema
/config history              # Show recent config snapshots
/config rollback <id>        # Roll back to a previous snapshot
/config ai                   # Show AI status
/config ai on                # Enable Agentic AI
/config ai off               # Disable Agentic AI
/config ai mode <mode>       # Set AI trigger mode
/config ai model <model>     # Change AI model
/config ai provider <name>   # Change AI provider

/setup ​

Guided first-run setup wizard for common bot settings.

/setup start
/setup owner me
/setup prefix !
/setup anti-link on warn
/setup anti-spam on warn
/setup ai-key <key>
/setup ai on
/setup done

/permission ​

Manage role-based command access overrides globally or per group.

/permission list
/permission list here
/permission set warn admin global
/permission set quote member here
/permission reset quote here

Roles:

  • member
  • admin
  • owner

/privacy ​

Manage data retention and AI memory privacy controls.

/privacy status
/privacy retention analytics 30
/privacy retention memory-ttl 24
/privacy memory global on
/privacy memory off here
/privacy memory inherit here
/privacy memory clear here

/autodl ​

Configure automatic link download behavior (owner-only).

/autodl status
/autodl on
/autodl off
/autodl mode <auto|audio|video|photo>
/autodl cooldown <seconds>
/autodl maxlinks <count>
/autodl album <count>
/autodl photolimit <count>

TIP

/autodl works with downloader.auto_link_download config values and uses the same downloader pipeline as /dl.

/callguard ​

Configure incoming call handling (owner-only).

/callguard status
/callguard on
/callguard off
/callguard delay <seconds>
/callguard notify <on|off>
/callguard ownernotify <on|off>
/callguard whitelist list
/callguard whitelist add <jid_or_number>
/callguard whitelist remove <jid_or_number>

TIP

/callguard uses call_guard config values. Current action is block (with optional delay and notifications).

/eval ​

Execute Python code directly.

/eval <code>

Example:

/eval 2 + 2

/aeval ​

Execute async Python code.

/aeval <code>

Example:

/aeval await bot.reply(msg, "Hello from eval!")

WARNING

/eval and /aeval have full access to the bot's internals. Use with caution.

/addcommand ​

Create a new command dynamically via WhatsApp — no file needed.

/addcommand
<python code defining a Command class>

Example:

/addcommand
from core.command import Command, CommandContext

class GreetCommand(Command):
    name = "greet"
    description = "Greet someone"
    usage = "/greet"

    async def execute(self, ctx):
        await ctx.client.reply(ctx.message, "Greetings!")

/delcommand ​

Delete a dynamically created command.

/delcommand <name>

/listdynamic ​

List all dynamically created commands.

/listdynamic

/addskill ​

Add an AI skill — custom instructions that the AI follows.

/addskill <name> <instructions>
/addskill <url>
/addskill            # with attached .md file
/addskill <name>     # when replying to text

Example:

/addskill translator Always translate messages to English when asked.

/delskill ​

Remove an AI skill.

/delskill <name>

/skills ​

List all loaded AI skills.

/skills

Built with ❤️