Message variables
A variable in curly braces is replaced by the right value when the message is sent: {user} becomes the member's nickname, {server} the server name. Each message type has its own list.
#Welcome, leave and join DM
For the messages in Settings › Welcome messages (text, embed and welcome card). On the site, type { to see the list.
| Variable | Replaced by |
|---|---|
{user} | Member's nickname on the server (also {joueur}) |
{user.mention} | Member mention (also {joueur_mention}) |
{user.name} | Discord username |
{user.id} | Member ID |
{user.avatar} | Profile picture link |
{user.created} | Account creation date |
{user.joined} | Date they joined the server |
{server} | Server name (also {serveur}) |
{server.id} | Server ID |
{server.owner} | Server owner |
{server.owner.mention} | Owner mention |
{server.member_count} | Number of members |
{server.icon} | Server icon link |
{random} | Random number between 1 and 10 |
{date} | Today's date |
{time} | Current time |
An unknown variable is left as is in the message.
#Custom commands
Custom commands accept all the welcome variables above ({user} = the command's author), plus:
| Variable | Replaced by |
|---|---|
{args} | Everything written after the command |
{args.1} … {args.9} | The 1st … 9th word after the command |
{target} | Mentioned member (otherwise the author) |
{target.mention} | Mention of the mentioned member (otherwise the author) |
{target.id} | ID of the mentioned member |
{target.avatar} | Profile picture of the mentioned member |
{channel} | Channel name |
{channel.mention} | Channel mention |
{command} | Command name |
#Level-up announcement
For the new-level message in Settings › Levels (see Levels).
| Variable | Synonyms | Replaced by |
|---|---|---|
{joueur} | {user}, {user.name}, {member}, {membre} | Member's nickname on the server |
{joueur_mention} | {user.mention}, {mention}, {member.mention}, {membre_mention} | Member mention |
{user.username} | Discord username | |
{niveau} | {level} | The new level |
{serveur} | {server}, {server.name}, {guild} | Server name |
{salon} | {channel} | The channel to mention, chosen in the announcement settings |
Here, {user.name} gives the nickname on the server, whereas in welcome messages it gives the Discord username. For the username in a level-up announcement, use {user.username}.
#Team messages and sanction reasons
Team promotion, demotion and recruitment messages accept:
| Variable | Synonyms | Replaced by |
|---|---|---|
{joueur} | {user}, {user.name}, {member}, {membre} | Member's nickname |
{joueur_mention} | {user.mention}, {mention}, {member.mention}, {membre_mention} | Member mention |
{serveur} | {server}, {server.name}, {guild} | Server name |
{ancien_grade} | {old_rank}, {old_grade} | Previous rank |
{nouveau_grade} | {new_rank}, {new_grade} | New rank |
{moderateur} | {moderator}, {staff} | Team member who took the action |
The text of a preset sanction reason accepts {joueur}, {joueur_mention}, {serveur}, {moderateur} (and their synonyms), plus {duree} (also {duration}, {durée}) for the sanction's duration and {bot} to mention the bot.
#Temporary voice channels
- Channel name:
{user}(nickname, also{joueur}),{tag}(username),{custom_word}(a word from your list),{random_word}(a random word). - Panel text:
{proprietaire},{salon},{etat}(open, locked or private),{places}.
#Announcements and embeds
The Announcements page and custom embeds have no variables. They recognize the server's :emojis: and #channels, turned into real emojis and links to the channels.