docs

variables

every placeholder you can use in rina scripts.

variables are placeholders like {user.mention} that get replaced when a message is sent. they work in every message template: welcome, goodbye, boost, auto responders, level ups, tickets, invoke messages and ,createembed.

unknown variables are left as they are, so a typo shows up in the message instead of disappearing.

user

the member that triggered the message

variabledescriptionexample
{user}usernamerina
{user.mention}mention<@1000000000000000000>
{user.name}usernamerina
{user.display_name}server display nameRina ✿
{user.id}user id1000000000000000000
{user.avatar}avatar url (server avatar if set)https://cdn.discordapp.com/embed/avatars/0.png
{user.global_avatar}global avatar urlhttps://cdn.discordapp.com/embed/avatars/0.png
{user.created_at}account creation date<t:1600000000:D>
{user.created_at.relative}account age<t:1600000000:R>
{user.joined_at}join date<t:1700000000:D>
{user.joined_at.relative}time since joining<t:1700000000:R>
{user.join_position}join position1337
{user.join_position.format}join position (ordinal)1337th
{user.bot}is the user a botno
{user.boost}is the member boostingyes
{user.boost_since}boosting since<t:1700000000:R>
{user.color}display colour hex#f472b6
{user.top_role}highest rolemembers

guild

the server

variabledescriptionexample
{guild.name}server namerina hq
{guild.id}server id1000000000000000001
{guild.count}member count1337
{guild.count.format}member count (ordinal)1337th
{guild.humans}human count1300
{guild.bots}bot count37
{guild.icon}icon urlhttps://cdn.discordapp.com/embed/avatars/1.png
{guild.banner}banner url—
{guild.splash}invite splash url—
{guild.owner_id}owner id1000000000000000000
{guild.vanity}vanity coderina
{guild.boost_count}boost count14
{guild.boost_count.format}boost count (ordinal)14th
{guild.boost_tier}boost level2
{guild.created_at}creation date<t:1500000000:D>
{guild.created_at.relative}server age<t:1500000000:R>
{guild.channels}channel count42
{guild.roles}role count30
{guild.emojis}emoji count120

channel

the channel the message is sent in

variabledescriptionexample
{channel.name}channel namegeneral
{channel.mention}channel mention<#1000000000000000002>
{channel.id}channel id1000000000000000002
{channel.topic}channel topicsay hi

misc

utility values

variabledescriptionexample
{date}current date<t:1700000000:D>
{time}current time<t:1700000000:t>
{timestamp}unix timestamp1700000000
{newline}a line break\n

level

only in level-up messages

variabledescriptionexample
{level}new level10
{xp}total xp15400
{rank}leaderboard rank3

moderation

only in invoke / moderation messages

variabledescriptionexample
{moderator}moderator usernamemod
{moderator.mention}moderator mention<@1000000000000000003>
{reason}action reasonspamming
{duration}action duration1 hour
{case}case number42