Skip to content

Message Templates For Beginners

beginners_en

This article is dedicated to those who either can't or don't want to learn all the features of message templates deeply, but just want to figure out 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:

JuniperBot Template
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 will be replaced with a mention of the member, that is, the following will be printed in the channel:

JuniperBot Template
Hello, @Member! Welcome to our server!

Easy peasy.

What variables we have?

The most basic and frequently used variables are described in the Simple Variables article. Take the variable you are interested in and just paste it in the right place of your template.

All rights sniffed.