Variables
Variables allow you to easily add information about the voter, bot, server and more into your custom vote embeds
Variable Formatting
Variables require lowercase letters and must be surrounded with {}
.
Incorrect Variable Formatting
Correct Variable Formatting
TagScript V2
TagScript V2 is our current system for variables & dynamic content in messages. TagScript V1 only supported text variables and a few image variables, with inconsistent naming and formats.
All V2 tags has a Top Level Tag, followed by a period (.
) and then a property. This makes it much easier to see what a tag is for and gives access to many more tags.
In addition to these fixes and improvements, TagScript V2 adds more types of tag: Colour, Link & Date tags. Some can be used with the existing setup commands & embed customisation in Discord, and some, such as link tags, will only be useful when customising the extra fields available in the Dashboard.
Top Level Tags
Some Top Level Tags have replaced values, usually mentions, if no additional property is specified
There are other top level tags for integration provided tags, for example miki
contains information about the Miki EXP data that was given. You can find a list of tags for each Integration on their Discovery page
If a server was voted for, then any app
tags will be replaced with nothing, or may not the replaced at all. The guild
tag will always be replaced with the data of the server the vote message is to be sent in, even if the target was a bot
voter
Properties
voter
Propertiesguild
Properties
guild
Propertiesapp
Properties
app
Propertiesplatform
Properties
platform
PropertiesThe platform.next_vote
and platform.next_vote.hours
tags are only supported in message content and embed fields, descriptions & timestamps due to a limitation of Discord's formatting. Using these tags in other fields will cuase unexpected formatting
rewards
Properties
rewards
Propertiesmiki
Properties
miki
PropertiesAdditional Tags
These tags have no Top Levels Tags and are used as just {tag}
{monthly_votes}
has been deprecated and may be removed in a future update. You should use the tag {voter.buckets:monthly}
instead
TagScript V1
TagScript V1 is now deprecated and will not work inside of Vote Messages anymore. If you notice tags not getting replaced, make sure to check its a TagScript V2 variable
Text Variables
The following variables are supported in all embed fields except image & field name & values. Please see below for a list of supported variables for images
Image Variable List
The following variables are only supported for the author, footer & main image fields of the vote embed
Last updated