Skip to content

Beginners

Message Templates "For Dummies".


beginners_en


This article is dedicated to those who do not want learn all the possibilities of message templates deeply, but just want to understand how to use the basic variables in templates and what variables exist.

Inserting Variables#

Variables are inserted using double curly braces inside the template in the place you need, for example:

Hello, {{ member }}! Welcome to our server!

In the example above, the member variable is inserted in the template and denoted by double curly braces. This means that {{ member }} will be replaced with a mention of the member, that is, the following will be printed in the channel:

Hello, @Member! Welcome to our server!

Easy peasy.

What variables we have?#

All existing variables are described in the Variables article. Take the variable you are interested in and just paste it in the right place in your template.