Skip to main content

Overview

Variables are dynamic placeholders that pom replaces with real data when a message is sent. Use them inside embed scripts to personalize welcome messages, goodbye messages, boost messages, and autoresponders. Variables use curly brace syntax: {variable_name}. Nested properties use dot notation: {user.display_avatar}.

User Variables

Information about the member who triggered the event (the person who joined, left, boosted, etc.).
VariableOutputExample
{user}Display namePommy
{user.id}User ID123456789012345678
{user.mention}User mention@Pommy
{user.name}Username (without discriminator)pommy
{user.tag}Discriminator0
{user.avatar}Avatar URLhttps://cdn.discordapp.com/...
{user.display_avatar}Avatar URL (respects server-specific avatar)https://cdn.discordapp.com/...
{user.display_name}Display namePommy
{user.created_at}Account creation date2023-05-15 14:30:00 UTC
{user.created_at_timestamp}Unix timestamp of account creation1684161000
{user.bot}Whether the user is a botYes or No
{user.top_role}Highest role nameAdmin
{user.color}Role color hex#F4D679
{user.guild_avatar}Server-specific avatar URLhttps://cdn.discordapp.com/...
{user.joined_at}Server join date2024-01-20 09:15:00 UTC
{user.joined_at_timestamp}Unix timestamp of server join1705741500
{user.boost}Whether the user is boostingYes or No
{user.boost_since}Boost start date2024-06-01 12:00:00 UTC
{user.boost_since_timestamp}Unix timestamp of boost start1717243200
{user.role_list}All roles as mentions (comma-separated)@Admin, @Mod, @Member
{user.role_text_list}All role names (comma-separated)Admin, Mod, Member
{user.badges}Public Discord badgesHypesquad, Early Supporter
{user.join_position}Numeric join position42
{user.join_position_suffix}Join position with ordinal suffix42nd

Guild (Server) Variables

Information about the server where the event occurred.
VariableOutputExample
{guild}Server nameMy Server
{guild.name}Server nameMy Server
{guild.id}Server ID987654321098765432
{guild.count}Total member count1,234
{guild.icon}Server icon URLhttps://cdn.discordapp.com/...
{guild.banner}Server banner URLhttps://cdn.discordapp.com/...
{guild.splash}Invite splash URLhttps://cdn.discordapp.com/...
{guild.discovery}Discovery splash URLhttps://cdn.discordapp.com/...
{guild.owner_id}Server owner’s user ID123456789012345678
{guild.vanity}Vanity URL codemyserver or N/A
{guild.created_at}Server creation date2022-03-10 08:00:00 UTC
{guild.created_at_timestamp}Unix timestamp of creation1646899200
{guild.emoji_count}Total emoji count50
{guild.role_count}Total role count25
{guild.boost_count}Number of boosts14
{guild.boost_tier}Boost levelLevel 2 or No Level
{guild.preferred_locale}Server languageen-US
{guild.shard}Shard ID0
{guild.max_presences}Max presences limit25000
{guild.max_members}Max members limit500000
{guild.max_video_channel_users}Max video users per voice channel25
{guild.afk_timeout}AFK timeout in seconds300
{guild.afk_channel}AFK channel mention#afk
{guild.channels_count}Total channels45
{guild.text_channels_count}Text channels only30
{guild.voice_channels_count}Voice channels only10
{guild.category_channels_count}Categories only5
{guild.channels}All channel mentions#general, #rules, ...
{guild.text_channels}Text channel mentions#general, #rules, ...
{guild.voice_channels}Voice channel mentions#General, #Music, ...
{guild.category_channels}Category namesGeneral, Moderation, ...
{guild.key_features}Server featuresCOMMUNITY, BANNER, ...
{guild.region}Server regionus-east

Channel Variables

Information about the channel where the message is being sent.
VariableOutputExample
{channel}Channel namewelcome
{channel.name}Channel namewelcome
{channel.id}Channel ID111222333444555666
{channel.mention}Channel mention#welcome
{channel.topic}Channel topicWelcome new members here!
{channel.type}Channel typetext
{channel.category_id}Parent category ID999888777666555444
{channel.category_name}Parent category nameGeneral
{channel.position}Position in channel list3
{channel.slowmode_delay}Slowmode in seconds5

Date & Time Variables

Current date and time information.
VariableOutputExample
{date.now}Full dateMarch 01, 2026
{date.utc_timestamp}Unix timestamp1772515200
{date.now_proper}Full date with daySunday, March 01, 2026
{date.now_short}Short date03/01/2026
{date.now_shorter}Shorter date03/01/26
{date.utc_now}Same as {date.now}March 01, 2026
{time.now}12-hour time2:30 PM
{time.now_military}24-hour time14:30
{time.utc_now}Same as {time.now}2:30 PM

Usage Tips

The most commonly used variables are {user}, {user.mention}, {user.display_avatar}, {user.join_position_suffix}, {guild}, and {guild.count}. These cover most welcome and goodbye message needs.
Use {user.display_avatar} instead of {user.avatar} for thumbnails and images — it respects server-specific avatars when available.
Variables are case-sensitive. {User} will not work — use {user}.