Variables
User Variables
Users are defined by the person who invoked the variable. The user who joined the server in a welcome message is the user that is invoked for any {user}
variable.
{user}
and {user.mention}
Mentions the user
{user.tag}
[Deprecated] Only works with bot members (Ex. Brew#6363)
{user.name}
Name of the user
{user.display_name}
Display name of the user
{user.avatar}
Avatar of the user
{user.banner}
Banner of the user, if any
{user.server_avatar}
Server avatar of the user, if any
{user.id}
ID of the user
{user.nick}
Nickname of the user, if any
{user.joindate}
Join date of the user
{user.joindate.timestamp}
Join date of the user in timestamp format
{user.creationdate}
Creation date of the user
{user.creationdate.timestamp}
Creation date of the user in timestamp format
Server Variables
Servers are defined by the server that this embed is invoked in. If using a self embed, these variables cannot be used.
{server}
and {server.name}
Name of the server
{server.id}
ID of the server
{server.membercount}
Membercount of the server
{server.membercount.sep}
Membercount of the server with 1,000
instead
{server.humancount}
Membercount of the server excluding bots
{server.humancount.sep}
Humancount of the server with 1,000
instead
{server.botcount}
Botcount of the server
{server.botcount.sep}
Botcount of the server with 1,000
instead
{server.icon}
Server's Icon, if any
{server.banner}
Server's banner, if any
{server.splash}
Server's invite banner, if any
{server.creationdate}
Creation date of the server
{server.creationdate.timestamp}
Creation date of the server in timestamp format
{boost.level}
Boost level of the server
{boost.count}
Boost count of the server
Rank Variables
These are user variables at their core, but they go into their own section due to people usually using rank variables inside of rank messages. You can use it outside of them, but its not very practical.
{user.old_level}
User's level before leveling up
{user.new_level}
User's level after leveling up
{user.xp}
User's total xp
{user.xp.sep}
User's total xp with 1,000
Birthday Variables
These variables can only be used if the user has a birthday set, if not, then it won't work. Due to this, it's probably more effective to put birthday variables in self embeds when using the ,bday message --self_embed embed_name
command.
{birthday.day}
User's birthday day
{birthday.month}
User's birthday month as a number (Ex. 7)
{birthday.month.str}
User's birthday month as a string (Ex. July)
{birthday.year}
User's birthday year (Default is 2024
)
{birthday.age}
User's current age
{birthday.future_age}
User's age after their next birthday
{birthday.timestamp}
User's birthday as a timestamp
{birthday.timestamp.format}
Automatically format user's birthday
Last updated