Message Templates
Message Templates and Template Engine.
What is it and why we need it?#
Message Templates are special message constructors and editors for commands, notifications, reminders and a lot of other stuff that you can find in server's dashboard. Each of them can contain some message related information that you can insert in the right places using special markup language that our built-in template engine offers.
Message Template Structure#
Structure of all Message Templates is mostly the same on the whole system, check the User Interface article.
Message Templates are used in the features like:
- Notifications;
- Level up announcements;
- Custom Commands;
- Auto-Moderation announcements.
JuniperBot sequentially processes all template fields in the following order:
- Message Content Template;
- Embed Content Template
- Embed's Author values;
- Embed's Title values;
- Embed's Footer values;
- Embed's Fields (both name and value).
What should we do with this?#
Template Engine of the JuniperBot is very powerful tool and requires some programming skills to understand it.
If you are not fimiliar those things, welcome to the Beginners article.
If you're brave enouth and ready to familiarize yourself with the power of the template engine, welcome to the Advanced article.