Custom Commands
Create your own commands that the bot will respond to automatically.
Management commands (admins)
| Command | Usage |
|---|---|
/addcmd name response |
Create or update a command |
/delcmd name |
Delete a command |
/listcmds |
List all commands |
Example
/addcmd faq <b>Frequently asked questions:</b>
📌 Hours? 9am to 9pm
📌 Shipping? 1-2 business days
📌 Returns? Contact @admin
Now any user can type /faq and the bot will reply with that text.
HTML formatting
Commands support HTML formatting (<b>, <i>, <code>, <a>).
Restrictions
- Name: only lowercase letters, numbers and underscores (
_) - Maximum 50 characters in the name
- Cannot override built-in bot commands (
/start,/help,/config, etc.) - Maximum 4096 characters in the response
- Only work in groups (not in private chat)