# Placeholders

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**](https://cdn.discordapp.com/avatars/296044953576931328/7025fae3f1d6184a353adf2e9c46c9ff.png?size=2048), 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**](https://cdn.discordapp.com/icons/454409434676854786/7025fae3f1d6184a353adf2e9c46c9ff.jpg), 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`.
