Resources
Variables
In this section, you will be able to view the variables that you can use for greeds embeds.
Base Variables
Variables that can be used across a wide range of commands and invoke messages.
Guild Variables
Guild variables can be useful in areas such as welcome messages when displaying your overall member count & more.
Variable | Example |
---|---|
{guild.name} | My Discord Server |
{guild.id} | 123456789012345678 |
{guild.count} | 1,604 |
{guild.region} | N/A |
{guild.shard} | 0 |
{guild.owner_id} | 123456789012345678 |
{guild.created_at} | 1627776000 |
{guild.emoji_count} | 50 |
{guild.role_count} | 25 |
{guild.boost_count} | 34 |
{guild.boost_tier} | Level 2 |
{guild.preferred_locale} | en-US |
{guild.key_features} | ANIMATED_ICON, BANNER |
{guild.icon} | https://cdn.discordapp.com/icons/... |
{guild.banner} | https://cdn.discordapp.com/banners/... |
{guild.splash} | https://cdn.discordapp.com/splashes/... |
{guild.discovery} | https://cdn.discordapp.com/discovery-splashes/... |
{guild.max_presences} | 10000 |
{guild.max_members} | 100000 |
{guild.max_video_channel_users} | 25 |
{guild.afk_timeout} | 300 |
{guild.afk_channel} | #afk |
{guild.channels} | general, announcements, rules |
{guild.channels_count} | 25 |
{guild.text_channels} | general, announcements |
{guild.text_channels_count} | 15 |
{guild.voice_channels} | General, Gaming |
{guild.voice_channels_count} | 8 |
{guild.category_channels} | Information, Community |
{guild.category_channels_count} | 5 |
User Variables
User variables are useful in areas such as welcome messages and invoked messages.
Variable | Example |
---|---|
{user} | 66adam#0 |
{user.id} | 123456789012345678 |
{user.mention} | @66adam |
{user.name} | 66adam |
{user.tag} | #0 |
{user.avatar} | https://cdn.discordapp.com/avatars/... |
{user.display_avatar} | https://cdn.discordapp.com/avatars/... |
{user.created_at} | 1627776000 |
{user.created_at_timestamp} | 1627776000 |
{user.display_name} | 66adam |
{user.bot} | Yes/No |
{user.guild_avatar} | https://cdn.discordapp.com/guilds/... |
{user.joined_at} | 1627776000 |
{user.joined_at_timestamp} | 1627776000 |
{user.boost} | Yes/No |
{user.boost_since} | 2023-01-01 |
{user.boost_since_timestamp} | 1627776000 |
{user.color} | #7289DA |
{user.top_role} | @Moderator |
{user.role_list} | Moderator, Member |
{user.role_text_list} | @Moderator, @Member |
{user.join_position} | 1500 |
{user.join_position_suffix} | 1500th |
Channel Variables
Channel variables can be used to display information about text channels, voice channels, and threads.
Variable | Example |
---|---|
{channel.name} | general |
{channel.id} | 123456789012345678 |
{channel.mention} | #general |
{channel.type} | text |
{channel.position} | 1 |
{channel.topic} | General discussion |
{channel.category_id} | 123456789012345678 |
{channel.category_name} | Information |
{channel.slowmode_delay} | 5 |