User Variables
These variables relate to the user who triggered the event (e.g., the user who joined).{user}
Mentions the user (e.g.,
@Flamey).{user.tag}
The user’s username (e.g.,
Flamey#1234).{user.id}
The user’s unique Discord ID.
{user.created_at}
The date the user’s account was created.
Server Variables
Variables related to the server (guild) where the command is used.{server}
The name of the server.
{server.id}
The ID of the server.
{member_count}
The total number of members in the server.
Other Context
Channel Variables
Channel Variables
{channel}- Mentions the channel where the message is sent.{channel.name}- The name of the channel.{channel.id}- The ID of the channel.
Time Variables
Time Variables
{now}- The current timestamp.{date}- The current date.
Some variables might not be available in all contexts. For example,
{user} might not work in a scheduled message if no specific user is involved.