Variables
All variables available in raze for embed scripting and message templates.These variables are available throughout raze and can be used in any command context which contains a
message or embed code parameter (e.g. welcome, leave, level-up, invoke).
How to use variables
Variables let you inject dynamic text into your messages. For example, if you want a welcome message to ping the user and mention the server name, you can write:Welcome to raze, @wanderer!You can also use these variables in your Embed Builder or anywhere else that supports scripting. Just wrap the variable name in curly braces
{}.
Guild
Guild
User
User
Channel
Channel
Date & Time
Date & Time
All IST times are
Asia/Kolkata. All UTC times are UTC+0.Invites
Invites
Available in welcome message templates when invite tracking is enabled.
Leveling
Leveling
Available in level-up message templates (
levelup set).Streaks
Streaks
Available in
streaks message templates, and usable anywhere embed scripting is supported (customcommand, invoke, etc.). Reads live from the member’s current streak progress.Prefix with
target. (e.g. {target.streak.current}) to reference another member instead of the message author, where supported.Last.fm
Last.fm
Available in
lf embed set templates only. All standard {user.*} and {guild.*} variables also apply.TrackArtist
Album
Account
Moderation
Moderation
Available in moderation message templates (jail, DM punishments, invoke messages, etc.).
Affiliate
Affiliate
Available in affiliate message templates.
Boost
Boost
Available in boost message templates.
Transforms
Transforms
Wrap any variable inside a transform function to modify its value. Works anywhere variables are supported.Transforms resolve the variable first, then apply the function — so
Examples
{lower(track.name)} outputs the track title in lowercase, not the literal text track.name.
