Variables
In this page you will learn what is variable and how you use them to customize Mr. Tom message.
What is variable?
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.
Example
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 User Variables and Server Variables for that.
Your custom message:
Hi {user_mention}! Welcome to {server_name} server 🥰
Result:
Hi @CLY! Welcome to Mr Tom Support server 🥰
User Variables
{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 Variables
{server_name}
To insert server name
Leveling System Variables
{level}
To insert user new level
{reward}
To insert user new reward
Role Variables
{roles}
To insert roles
Discord Variables
<#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 Get Features.
Last updated
Was this helpful?