Skip to content
flankerDocs
Dashboard

Variables

Variables are {dotted.key} placeholders that flanker replaces with live data when a message is sent. Use them anywhere you customise a message: welcome and leave messages, embeds, autoresponders, tags, boost messages and more.

For example, a welcome message of:

Welcome {user.mention} to {guild.name}! You are member #{guild.count}.

is sent as Welcome @name to My Server! You are member #1234.

Member

VariableValue
{user.mention}Mentions the member
{user.name}Username
{user.tag}Username with discriminator/handle
{user.id}User ID
{user.avatar}Avatar image URL
{user.color}The member’s top role colour
{user.boost}Whether the member is boosting
{user.bot}Whether the member is a bot
{user.badges}The member’s profile badges

Server

VariableValue
{guild.name}Server name
{guild.id}Server ID
{guild.count}Member count
{guild.icon}Server icon URL
{guild.banner}Server banner URL
{guild.splash}Invite splash URL
{guild.vanity}Vanity invite code
{guild.region}Voice region
{guild.channels}Channel count
{guild.discovery}Whether discovery is enabled
{guild.shard}The shard the server is on

Channel

VariableValue
{channel.name}Channel name
{channel.mention}Mentions the channel
{channel.id}Channel ID
{channel.topic}Channel topic
{channel.type}Channel type
{channel.position}Channel position

Time

VariableValue
{date.now}Current date
{time.now}Current time