Variables are powerful placeholders that are automatically replaced with helpful information about your bot, so you can add dynamic information to your configuration. Variables can't be used everywhere. The supported configuration fields are listed with the variable.
Variable (v1) | Variable (v2) | Description | Supported Fields |
{USERTAG} | %USERTAG% | Mentions user | User Join, Tickets |
{GUILD} | %GUILD% | Inserts name of the current guild (aka server) | User Join, Tickets |
{SVRCOUNT} | %GUILDS% | Displays number of servers the bot is in | User Join, Tickets, Status |
{USRCOUNT} | %USERS% | Displays number of users in all servers | User Join, Tickets, Status |
{BOTPING} | %BOTPING% | Displays the bot's ping (ms) | User Join, Tickets, Status |
{PREFIX} | N/A | Displays the bot's prefix | User Join, Tickets, Status |
{VERSION} | %VERSION% | Displays the bot's version | User Join, Tickets, Status |
How to use variables
Simply insert a variable wherever you would want the value to appear. See the example below, the top value is what is set in the configuration and the bottom is how it would appear in its final form.
{SVRCOUNT} servers | {PREFIX}help
100 servers | !help
A few notes about variables
- Certain intents may be required for certain variables.
- Certain variables may experience caching which makes them inaccurate for certain use cases
- For example, using {USRCOUNT} to give each user a "place" in joining may not be 100% accurate.