Skip to content

Variables ​

You can use variables when making a join, join DM or leave message, in the text message as well as in every part of an embed and in the text of a welcome banner. Variables are replaced with the correct information when the message is sent. Keep in mind where all the different variables are usable.

Looking for variables for ticket panels and ticket messages? See Ticket Variables.

TIP

Type % in any message box on the dashboard to get a list of matching variables.

Member Variables ​

VariableDescriptionWhere to use
%member%Member's display name, or their username if they have no display nameJOIN, LEAVE, JOIN DM
%member_name%Member's usernameJOIN, LEAVE, JOIN DM
%member_discriminator%Member's discriminator (0 for accounts that no longer have one)JOIN, LEAVE, JOIN DM
%member_mention%Mention the memberJOIN, LEAVE, JOIN DM
%member_id%Member's Discord IDJOIN, LEAVE, JOIN DM
%member_avatar%Member's Discord profile picture URLJOIN, LEAVE, JOIN DM
%member_created%When the member made their account (UTC). Ex: 17/05/2016, 22:57:58JOIN, LEAVE, JOIN DM
%member_created_ago%How long ago the member made their account. Ex: 5 years agoJOIN, LEAVE, JOIN DM
%member_joined%When the member joined the server (UTC). Ex: 17/05/2016, 22:57:58JOIN, LEAVE, JOIN DM
%member_joined_ago%How long ago the member joined the server. Ex: 2 months agoJOIN, LEAVE, JOIN DM
%member_join_count%How many times the member joined the serverJOIN, LEAVE, JOIN DM
%member_leave_count%How many times the member left the serverJOIN, LEAVE, JOIN DM

INFO

The "joined" variables are most useful in leave messages, where they show when the leaving member had joined. In join and join DM messages, they show the moment the member just joined. If Invite Tracker doesn't know when the member joined, they show Unknown.

Member Timestamp Variables ​

These variables use Discord timestamps, which every reader sees in their own time zone and language. The examples below show the English format.

WARNING

Discord timestamps only display correctly in message text, embed descriptions and embed field values. In other places (embed titles, author names, footers, and welcome banners), use %member_created%, %member_created_ago%, %member_joined% or %member_joined_ago% instead.

Member Joined ​

VariableDescriptionWhere to use
%member_joined_at_t%Member's shortened join time. Ex: 22:57JOIN, LEAVE, JOIN DM
%member_joined_at_T%Member's complete join time. Ex: 22:57:58JOIN, LEAVE, JOIN DM
%member_joined_at_d%Member's shortened join date. Ex: 17/05/2016JOIN, LEAVE, JOIN DM
%member_joined_at_D%Member's complete join date. Ex: 17 May 2016JOIN, LEAVE, JOIN DM
%member_joined_at_f%Member's shortened join date and time. Ex: 17 May 2016 22:57JOIN, LEAVE, JOIN DM
%member_joined_at_F%Member's complete join date and time. Ex: Tuesday, 17 May 2016 at 22:57JOIN, LEAVE, JOIN DM
%member_joined_at_R%Member's relative join time. Ex: 5 years agoJOIN, LEAVE, JOIN DM

Member Created ​

VariableDescriptionWhere to use
%member_created_at_t%Member's shortened creation time of day. Ex: 22:57JOIN, LEAVE, JOIN DM
%member_created_at_T%Member's complete creation time of day. Ex: 22:57:58JOIN, LEAVE, JOIN DM
%member_created_at_d%Member's shortened creation date. Ex: 17/05/2016JOIN, LEAVE, JOIN DM
%member_created_at_D%Member's complete creation date. Ex: 17 May 2016JOIN, LEAVE, JOIN DM
%member_created_at_f%Member's shortened creation date and time. Ex: 17 May 2016 22:57JOIN, LEAVE, JOIN DM
%member_created_at_F%Member's complete creation date and time. Ex: Tuesday, 17 May 2016 at 22:57JOIN, LEAVE, JOIN DM
%member_created_at_R%Member's relative creation time. Ex: 5 years agoJOIN, LEAVE, JOIN DM

Inviter Variables ​

VariableDescriptionWhere to use
%inviter%Inviter's display name, or their username if they have no display nameJOIN, LEAVE, JOIN DM
%inviter_name%Inviter's usernameJOIN, LEAVE, JOIN DM
%inviter_discriminator%Inviter's discriminator (0 for accounts that no longer have one)JOIN, LEAVE, JOIN DM
%inviter_mention%Mention the inviterJOIN, LEAVE, JOIN DM
%inviter_id%Inviter's Discord IDJOIN, LEAVE, JOIN DM
%inviter_avatar%Inviter's Discord profile picture URLJOIN, LEAVE, JOIN DM
%inviter_invites%Inviter's number of total invites (regular + bonus, minus left and fake)JOIN, LEAVE, JOIN DM
%inviter_reg_invites%Inviter's number of regular invitesJOIN, LEAVE, JOIN DM
%inviter_leave_invites%Inviter's number of left invitesJOIN, LEAVE, JOIN DM
%inviter_fake_invites%Inviter's number of fake invitesJOIN, LEAVE, JOIN DM
%inviter_bonus_invites%Inviter's number of bonus invitesJOIN, LEAVE, JOIN DM

WARNING

Inviter variables are only filled in when Invite Tracker knows who invited the member, which is the case for the Normal sub-message type. Don't use them in the Vanity, Bot, No-Perm and Unknown messages.

Invite Variables ​

VariableDescriptionWhere to use
%invite_code%The invite code the member used (the vanity code for vanity joins)JOIN, LEAVE, JOIN DM
%invite_uses%The number of uses the invite code hasJOIN, JOIN DM
%invite_url%The invite URLJOIN, JOIN DM
%invite_label%The invite label, or the invite code if the invite has no label. What are Invite Labels? Click here for more info.JOIN, LEAVE, JOIN DM

Server Variables ​

VariableDescriptionWhere to use
%guild_name%Server's nameJOIN, LEAVE, JOIN DM
%guild_avatar%Server's icon URLJOIN, LEAVE, JOIN DM
%guild_count%Number of members in the serverJOIN, LEAVE, JOIN DM
%guild_count_ordinal%Number of members in the server as an ordinal number (1st / 2nd / 3rd)JOIN, LEAVE, JOIN DM

Embed-Specific Variables ​

VariableDescriptionWhere to use
%random_color%Picks a new random color for the embed every time a message is sentJOIN, LEAVE (embed color only)

TIP

You don't need to type %random_color% yourself: click the color rail on the left of the embed editor and enable Random color.

INFO

Picture fields of an embed (author icon, thumbnail, image and footer icon) accept %member_avatar%, %guild_avatar% and, in the Normal message type, %inviter_avatar%.

Invite Tracker Documentation