Text Formatting
Welcomer now uses
{{Mustache.Tags}} for formatting variables in your welcome, leaver and borderwall messages. This allows you to customise your messages with ease. User
{{User.ID}} The user's id
143090142360371200
{{User.Name}} The user's global name or username with discriminator
ImRock
{{User.Username}} The user's username
imrock
{{User.Discriminator}} The user's discriminator
0
{{User.GlobalName}} The user's global name
ImRock
{{User.Mention}} Mentions the user
@ImRock
{{User.CreatedAt}} The user's creation date as relative time
8 years ago{{User.JoinedAt}} The user's join date as relative time
7 years ago{{User.LeftAt}} The user's leave date as relative time
5 minutes ago{{User.Avatar}} The user's avatar as a URL
{{User.Bot}} Boolean to indicate the user is a bot
false
{{User.Pending}} Boolean to indicate the user is pending membership screening
false
Guild
{{Guild.ID}} The guild's id
341685098468343822
{{Guild.Name}} The guild's name
Welcomer Support Guild
{{Guild.Icon}} The guild's icon as a URL
{{Guild.Splash}} The guild's splash image as a URL
{{Guild.Members}} The guild's member count
7600
{{Guild.MembersJoined}} The guild's members joined counter. This value goes up even when members leave the server.
8500
{{Guild.Banner}} The guild's banner image as a URL
Invite
{{Invite.Code}} The code of the invite
UyUVCEcBU9
{{Invite.Uses}} The number of times the invite has been used
2724
{{Invite.Inviter}} The user who created the invite
Welcomer#5491
{{Invite.ChannelID}} The ID of the channel the invite is for
1234567890
{{Invite.CreatedAt}} The creation date of the invite
3 months ago{{Invite.ExpiresAt}} The expiration date of the invite
in 5 days{{Invite.MaxAge}} The maximum age of the invite in seconds
86400
{{Invite.MaxUses}} The maximum number of times the invite can be used
10000
{{Invite.Temporary}} Boolean to indicate if the invite is temporary
false
Borderwall
Functions
{{Ordinal(int)}} Returns the ordinal (st, nd, rd, th) for an integer passed in. You can do
{{Ordinal(Guild.Members)}} or {{Ordinal(Guild.MembersJoined)}} to display the member count.7600th
{{FormatNumber(int, locale)}} Formats an integer depending on the locale passed. Supported locales: default, dots, commas, indian, arabic.
7.600
{{SinceTime(time)}} Returns the time since the time passed in as a relative time as a string. This will not update automatically unlike using times regularly, this is only recommended for images.
7 years{{FormatTime(time, format)}} Formats a time depending on the format passed.
Accepted tags in date formatting:
yyyy (year, 4 digits)
yy (year, 2 digits)
MMMM (month, full name)
MMM (month, short name)
MM (month, leading zero)
M (month, without leading zero)
dddd (day of the week, full name)
ddd (day of the week, short name)
dd (day, leading zero)
d (day, without leading zero)
HH (hour 24, without leading zero)
hh (hour 12, leading zero)
h (hour 12, without leading zero)
mm (minute, leading zero)
m (minute, without leading zero)
ss (second, leading zero)
s (second, without leading zero)
Accepted tags in date formatting:
yyyy (year, 4 digits)
yy (year, 2 digits)
MMMM (month, full name)
MMM (month, short name)
MM (month, leading zero)
M (month, without leading zero)
dddd (day of the week, full name)
ddd (day of the week, short name)
dd (day, leading zero)
d (day, without leading zero)
HH (hour 24, without leading zero)
hh (hour 12, leading zero)
h (hour 12, without leading zero)
mm (minute, leading zero)
m (minute, without leading zero)
ss (second, leading zero)
s (second, without leading zero)
January 01, 2025
{{Upper(string)}} Returns the string passed in as uppercase.
WELCOME
{{Lower(string)}} Returns the string passed in as lowercase.
welcome
{{Title(string)}} Returns the string passed in as title case.
Welcome
| Name | Description | Example | ||
|---|---|---|---|---|
| User | ||||
{{User.ID}} | The user's id | 143090142360371200 | ||
{{User.Name}} | The user's global name or username with discriminator | ImRock | ||
{{User.Username}} | The user's username | imrock | ||
{{User.Discriminator}} | The user's discriminator | 0 | ||
{{User.GlobalName}} | The user's global name | ImRock | ||
{{User.Mention}} | Mentions the user | @ImRock | ||
{{User.CreatedAt}} | The user's creation date as relative time | 8 years ago | ||
{{User.JoinedAt}} | The user's join date as relative time | 7 years ago | ||
{{User.LeftAt}} | The user's leave date as relative time | 5 minutes ago | ||
{{User.Avatar}} | The user's avatar as a URL | https://cdn.discordapp.com/avatars/143090142360371200/a73420b217a77a77b17fb42fa7ecfbcc.png | ||
{{User.Bot}} | Boolean to indicate the user is a bot | false | ||
{{User.Pending}} | Boolean to indicate the user is pending membership screening | false | ||
| Guild | ||||
{{Guild.ID}} | The guild's id | 341685098468343822 | ||
{{Guild.Name}} | The guild's name | Welcomer Support Guild | ||
{{Guild.Icon}} | The guild's icon as a URL | https://cdn.discordapp.com/icons/341685098468343822/09cfc7fe72945a7c04ec6d3ddd01767c.png | ||
{{Guild.Splash}} | The guild's splash image as a URL | |||
{{Guild.Members}} | The guild's member count | 7600 | ||
{{Guild.MembersJoined}} | The guild's members joined counter. This value goes up even when members leave the server. | 8500 | ||
{{Guild.Banner}} | The guild's banner image as a URL | |||
| Invite | ||||
{{Invite.Code}} | The code of the invite | UyUVCEcBU9 | ||
{{Invite.Uses}} | The number of times the invite has been used | 2724 | ||
{{Invite.Inviter}} | The user who created the invite | Welcomer#5491 | ||
{{Invite.ChannelID}} | The ID of the channel the invite is for | 1234567890 | ||
{{Invite.CreatedAt}} | The creation date of the invite | 3 months ago | ||
{{Invite.ExpiresAt}} | The expiration date of the invite | in 5 days | ||
{{Invite.MaxAge}} | The maximum age of the invite in seconds | 86400 | ||
{{Invite.MaxUses}} | The maximum number of times the invite can be used | 10000 | ||
{{Invite.Temporary}} | Boolean to indicate if the invite is temporary | false | ||
| Borderwall | ||||
{{Borderwall.Link}} | The link to the borderwall | https://welcomer.gg/borderwall/... | ||
| Functions | ||||
{{Ordinal(int)}} | Returns the ordinal (st, nd, rd, th) for an integer passed in. You can do {{Ordinal(Guild.Members)}} or {{Ordinal(Guild.MembersJoined)}} to display the member count. | 7600th | ||
{{FormatNumber(int, locale)}} | Formats an integer depending on the locale passed. Supported locales: default, dots, commas, indian, arabic. | 7.600 | ||
{{SinceTime(time)}} | Returns the time since the time passed in as a relative time as a string. This will not update automatically unlike using times regularly, this is only recommended for images. | 7 years | ||
{{FormatTime(time, format)}} | Formats a time depending on the format passed. Accepted tags in date formatting: yyyy (year, 4 digits) yy (year, 2 digits) MMMM (month, full name) MMM (month, short name) MM (month, leading zero) M (month, without leading zero) dddd (day of the week, full name) ddd (day of the week, short name) dd (day, leading zero) d (day, without leading zero) HH (hour 24, without leading zero) hh (hour 12, leading zero) h (hour 12, without leading zero) mm (minute, leading zero) m (minute, without leading zero) ss (second, leading zero) s (second, without leading zero) | January 01, 2025 | ||
{{Upper(string)}} | Returns the string passed in as uppercase. | WELCOME | ||
{{Lower(string)}} | Returns the string passed in as lowercase. | welcome | ||
{{Title(string)}} | Returns the string passed in as title case. | Welcome | ||
Examples
| Example | Result |
|---|---|
| Welcome {{User.Mention}} to **{{Guild.Name}}**! You are the {{Ordinal(Guild.Members)}} member! | Welcome @ImRock to Welcomer Support Guild! You are the 7600th member! |
| {{#User.Bot}}This message shows if the user is a bot.{{/User.Bot}}{{^User.Bot}}This message shows if the user is not a bot.{{/User.Bot}} | This message shows if the user is not a bot. |