Variables
In this page you will learn what is variable and how you use them to customize Mr. Tom message.
Last updated
Was this helpful?
In this page you will learn what is variable and how you use them to customize Mr. Tom message.
Last updated
Was this helpful?
Variable is a placeholder to tell Mr. Tom to insert a dynamic data on your message. Most variables start with an opening brace {
and end with a closing brace }
.
Check this: Variable names are case-sensitive.
Let say you want to create custom welcome message on your server and you want to insert the new joined member info on your message. You can use and for that.
Your custom message:
Hi {user_mention}! Welcome to {server_name} server 🥰
Result:
Hi @CLY! Welcome to Mr Tom Support server 🥰
{user_name}
To insert user name. Example: CLY
{user_tag}
To insert user tag. Example: CLY #6333
{user_mention}
To mention user. Example: @CLY
{server_name}
To insert server name
{level}
To insert user new level
{reward}
To insert user new reward
{roles}
To insert roles
<#ID>
Discord Channel. Replace the ID with channel ID and it will mention the channel
<#862490123597119530>
<@ID>
Discord User. Replace the ID with User ID and it will mention the user
<@272518184400322581>
<@&ID>
Discord Role. Replace the ID with Role ID and it will mention the role
<@&934198707765784606>
Tips: To get the ID you can use .