List of macros
Variable and function Macros in @MenuBuilderBot are used to insert specified personal user data (such as Name) into the text of the message you create. It helps you personalize your messages!
%firstname%
- inserts username. (Known bug: sometimes - rarely - this macro shows the bot's name instead of the username - this happens only to admins, goes away by itself and does not affect anything.)
If you (or users of your bot) have changed the First Name, Last Name or any other data of the account, these changes may not be displayed immediately in your bot. The data will be updated after some time, at the start of one of the future User Sessions.
%reflink%
- user's referral link.%refcount%
- the number of referrals of the User.%%refparent_usercode%%
- Usercode of level one Referral Parent.%is_banned%
- User status in the bot regarding Ban
0 - user is not banned
1 - user banned in forms
2 - user banned in bot
%balance%
- balance status.
%statlink%
- link to public statistics.
%date%
- will show the current date (dd.mm.yyyy) in the time zone set in the bot. (Example: 31.12.2021)%dated%
- will show separately the number of whole DAYS of the macro %date%
(in format 01, 02 ... 30, 31).%datem%
- will show separately the number of whole MONTHS of the macro %date%
(in format 01, 02 ... 11, 12).%datey%
- will show separately the number of whole YEARS of the macro %date%
.
%time%
- will show the current time (hh:mm) in the time zone set in the bot. (Example: 17:50)%timeh%
- will show separately the number of whole HOURS of the macro %time%
.%timem%
- will show separately the number of whole MINUTES of the macro %time%
.
%timezone%
- will show the number you specified when setting the bot's Time Zone (in Bot Settings).
User macros.
Additional macros may be available in the bot.
To connect, go to your bot:☞ 🔐Admin | 🧩Extensions | 📂Macros