How to add your command
• Go in your bot:
☞ Button Editor.
• Select the button to which you want the command to be added.
• Press the inline button with an asterisk ( * ), in the message with the button's data, to get into its Settings.
• Click «Add Command».
• Enter the command.
• Click «Move by Command» - if you want the user to be moved to the internal menu of the button.
The selected button will be marked with [ ] - square brackets.
Commands begin with "/" (slash) and can only consist of:
- Latin letters "a-z".
- numbers "0-9".
- and "_" (underscore).
A command can only be added to a button of a lower menu.
Regardless of the settings, the Command will not let the user into the internal menu if the button is in the “Admin Only” mode, the button has a Condition that is not met or the button does not have an internal menu.
Invisible buttons.
In addition to the "Admin Only" mode, there is another way to hide the buttons in the menu - with its own, no less useful, features.
This mode allows you to hide the button in the menu (both from users and from the admins themselves) - without imposing restrictions on access to its content and functionality. It is useful for creating dynamic menus or hidden menu sections, which are accessed through Commands (inline buttons or Actions).
To connect, go in your bot:☞ 🔐Admin | 🧩Extensions | 📂Buttons
If you need a message that, for some reason, should be available only by command, you can create a hidden button in the "Admin Only" mode and put your message there, provide users with the ability to call this message only on command, without moving inside the menu without seeing the button itself.
More on how to manage commands.