Skip to main content

List of bot's system commands

Bot system commands are commands that are not belong to an individual functions, they work at the level of the bot itself and refer to its functionality, properties or settings.

Like any other commands, they are sent directly to the chat with the bot. In general, a Command consists of
• Name
• Parameters
• Arguments
This means that the command can contain additional parameters such as Telegram ID (UserID) or UserCode of the user, as well as arguments such as text or numbers.

Learn more about commands and how to use them in the Commands Guide.

Head bot commands

/advertstat - shows statistics of «Advertisement Market» of @MenuBuilderBot project.
/me - will show the data of your Account and the Referral link of the «Advertisement Market» of @MenuBuilderBot project.

Commands that are common for the Head and Menu bot

/start - bot restart.
/langen - switches the interface to English. (Other languages ​​are available by command /start).
/langru - switches the interface to Russian.

Commands of your Menu bot (or the bot where you are Admin)

/stat - shows bot statistics.
/stopmail - stops sending messages of Mailing (Admin > Mailing).

/showmenu - menu structure of all bot in the message.
/showmenu links - menu structure of all bot in the message, buttons with "Deep Links" (can be combined with other parameters).
/showmenu local - menu structure of local menu where command were used in the message (can be combined with other parameters).
/showmenu messages - menu structure of all bot in the message, the number of messages in every button (can be combined with other parameters).
/unban user_id - allows previously banned user to write to the bot again.
/refparent user_id/user_code - shows referral parent of the user.
/maildelay time - (format 0.00) delay between messages in a Mailing for bots with frequent Tempoban.
/home - used in inline buttons (or Actions) to go to the "Main Menu".
/extensions - returns a list of Extensions connected to the bot and to account.
/tokens - will show the cumulative statistics on the use of tokens in your bot, since the last reset.
/resettokens - resets token usage statistics in your bot.

/pm user_id text - allows you to send private messages (in few lines) to specific bot user. (The command consumes 1 Token of Messages). User will NOT be able to answer your message.
/userinfo user_id/user_code - displays all the information available on the user. (The command consumes 5 Tokens of Functions).
/ignoreconditions - the command will enable or disable checking of conditions on all buttons for ALL admins of your bots. Affects the ENTIRE bot as a whole. The setting does not affect users. It is needed mainly for individual tests and ease of navigation in certain cases.

/showvars - shows a list of ALL variables that exist in the bot and what functions they are involved in.
/showvars used - shows a list of all EXISTING and USED variables in the bot and what functions they are used in (if the variable is present in the function, but was removed from the bot, it will not be shown).
/showvars unused - shows a list of all variables EXISTING in the bot and UNUSED in any function.
/showvars location var_name - shows a list of buttons in which the variable specified in the command is involved and in which functions it is involved.
/errordetailforusers - temporarily (until the bot is restarted) enables the mode when detailed error messages are displayed not only for the admin, but also for any user. Useful when the created functionality works normally for the admin, but not for the user and you need to find out the reason. The command works as a switch (toggle).


Commands for the bot in Groups

!admins - if you added new admin to the group and your bot does not react to his commands, you send this system command to the group's chat and it will force the bot to update the list of group's admins. Normally admins list updated upon session restart.


Where:
user_id - this is the Telegram user ID.
user_code - this is the User Code.
var_name - is the name of the variable.
time - time in the specified format.
text - any of your text.