Engine
Variable Reference
Below are all the variables that you are able to input into your custom embeds. These variables are only allowed to be used in the description and avatar sections on your embeds.
All variables are case sensitive. Make sure to use the correct spelling and capitalisation of letters.
User Variables
Variable | Description |
---|---|
{user} | Mention the user who trigged the command. |
{user.mention} | Mention the user who trigged the command. |
{user.tag} | Displays the username of the user who trigged the command. |
{user.id} | Displays the id of the user who trigged the command. |
{user.icon} | Displays the avatar of the user who trigged the command. Can only be used in image sections. |
Guild Variables
Variable | Description |
---|---|
{guild} | Displays the name of the guild the command was used in. |
{guild.id} | Displays the id of the guild the command was used in. |
{guild.owner} | Displays the owner of the guild the command was used in. |
{guild.members} | Displays the member count of the guild the command was used in. |
Channel Variables
Variable | Description |
---|---|
{channel} | Mentions the channel the command was used in. |
{channel.mention} | Mentions the channel the command was used in. |
{channel.name} | Displays the name of the channel the command was used in. |
{channel.id} | Displays the id of the channel the command was used in. |
Time Variables
You can use any time format available in Timestamps.
You can view a list of all available formats here.
Append the letter of your desired format at the end of the variable. (e.g. {time.R}
for Relative Time)
Variable | Description |
---|---|
{time} | Displays the time the command was run in the default format 11 November 2024 12:00 |
{time+10h} | Displays the time the command was run at + 10 hours 11 November 2024 22:00 |
API Variables
These variables can only be used on specific embeds and if you have the API module enabled and setup.
Variable | Description |
---|---|
{prc.server.name} | Displays the name of the linked ER:LC private server. |
{prc.server.key} | Displays the join code of the linked ER:LC private server. |
{prc.server.teambalance} | Displays if team balance is enabled in the linked ER:LC private server. |
{prc.queue} | Displays the length of the linked ER:LC private server. |
Session Variables
Variable | Description |
---|---|
{code} | Displays the configured private server code. |
{owner} | Displays the configured private server owner. |
{name} | Displays the configured private server name. |
{votes} | Displays the required votes for a session. |
Infraction Variables
Variable | Description |
---|---|
{reason} | Displays the reason of the infraction. |
{outcome} | Displays the result of the infraction. (e.g. warning, demotion) |
{notes} | Displays any notes that were appended to the infraction. |
{appealable} | Whether the infraction can be appealed. |
{id} | The internal ID of the infraction. Used when viewing and managing infractions. |
{staff} | Displays an @mention of the infracted user. |
{staff.id} | Displays the Discord ID of the infracted user. |
{staff.tag} | Displays the username of the infracted user. |