Resources
Variables
In this section, you will be able to view the variables that you can use for Evict 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 | Output | Example |
---|---|---|
{guild.name} | Shows guild’s name | My Discord Server |
{guild.icon} | Shows guild’s icon | https://r2.evict.bot/evict-new.png |
{guild.created_at} | Shows the date when the server was created | 2023-08-01 |
{guild.count} | Shows the member count | 1,604 |
{guild.boost_count} | Shows the number of boosts in the server | 34 |
{guild.booster_count} | Shows the number of boosters in the server | 10 |
{guild.vanity} | Shows the server’s vanity code if any | /evict |
{guild.boost_tier} | Shows the guild’s boost level | Level 2 |
{guild.count.format} | Shows the member count in the ordinal format | 1,500th |
{guild.boost_count.format} | Shows the boosts count in ordinal format | 25th |
{guild.booster_count.format} | Shows the boosters count in ordinal format | 10th |
User Variables
User variables are also useful in areas such as welcome but can also be used in other areas such as invoked messages.
Variable | Output | Example |
---|---|---|
{user} | Shows user full name with discriminator | 66adam#0 |
{user.name} | Shows user’s username | 66adam |
{user.discriminator} | Shows user’s discriminator | #0 |
{user.id} | Shows user’s id | 123456789012345678 |
{user.mention} | Mentions the user | @66adam |
{user.avatar} | Shows user’s avatar | https://example.com/avatar.png |
{user.created_at} | Shows the user’s account creation date | 2020-05-01 |
{user.joined_at} | Shows the user’s join date | 2021-06-15 |
Lastfm Variables
Lastfm variables are useful in areas where you want to display both track and artist info on your ;nowplaying
embed.
Variable | Output | Example |
---|---|---|
{track.name} | Shows the track’s name | 30 For 30 (with Kendrick Lamar) |
{track.image} | Shows the track’s image | https://lastfm.freetls.fastly.net/i/u/300x300/nums.jpg |
{track.plays} | Shows the track’s play count | 16 |
{track.url} | Shows the track’s URL | https://www.last.fm/music/SZA/_/30+For+30+(with+Kendrick+Lamar) |
Social Variables
Variables that can be used for their specific category/social.
We will be adding the rest of the socials later on.
These variables can ONLY be used in their specific social command, for example tiktok variables cannot be used in twitter.
Variable | Output | Example |
---|---|---|
{stream} | The stream name | Sanchovies |
{guild} | The guild name | My Discord Server |