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 }.

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 🥰

Good to know: You also can use discord markdown to design your message.

User Variables

Variable Name
Description

{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

Variable Name
Description

{server_name}

To insert server name

Leveling System Variables

Variable Name
Description

{level}

To insert user new level

{reward}

To insert user new reward

Role Variables

Variable Name
Description

{roles}

To insert roles

Discord Variables

Description
Example

<#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>

Last updated

Was this helpful?