Placeholders
A list of all the placeholders, and examples of what they may output.
Placeholders are small snippets of text that, on use of a command, are dynamically replaced with real content based on their names or values. In the future, I hope to make placeholders more smart, by adding maths, arguments, API querying and a load more.. even JavaScript to trusted users.
Author Placeholders
Placeholder | Description | Output Example |
{author.mention} | The author of the message, mentioned. | @ThatTonybo#1234 |
{author.tag} | The message authors tag. | ThatTonybo#1234 |
{author.avatar} | The message authors avatar URL. | this, but in URL form |
{author.username} | The message authors username. | ThatTonybo |
{author.discrim} | The message authors discriminator tag. | 1234 |
{author.id} | The message authors ID. | 296044953576931328 |
{author.nickname} | The message authors nickname. If they have none, it will be replaced with "No nickname". | hi dere i'm tonyboo |
Server Placeholders
Placeholder | Description | Output Example |
{server.name} | The name of the server. | tony's server |
{server.id} | The ID of the server. | 454409434676854786 |
{server.members.humans} | The count of members in the server that aren't bots. | 15 |
{server.members.bots} | The count of members in the server that are bots. | 7 |
{server.members.all} | The count of members in the server, humands + bots combined. | 22 |
{server.icon} | The servers icon URL. | this, but in URL form |
{server.region} | The servers voice region. | sydney |
For server owner placeholders, they have the exact same as author. Just use server.owner
instead of author
, such as server.owner.mention
instead of author.mention
.
Last updated