<server>
Allows you to get any of the information on a server.
Context
Event | Context |
---|---|
Welcome message | server is assigned to the server that the user joined. |
Farewell message | server is assigned to the server that the user left. |
Custom command | server is assigned to the server where the command was triggered. (not available) |
Syntax
- Input
- Output
**<server.name> - Members**
We have **<server.members>** members!
We have 500 members!
Properties
Placeholder | Description | Example |
---|---|---|
<server.name> | Get the server's name | CRBT Community |
<server.id> | Get the server's Discord ID | 782584672298729473 |
<server.icon> | Get a link to the server's icon, or null if none is set | Discord icon URL |
<server.banner> | Get a link to the server's banner, or null if none is set | null |
<server.owner> | Get the server's owner ID | 327690719085068289 |
<server.created> | Get the server's creation date | 2020-11-29T13:32:00Z |
<server.roles> | Get a list of the server's role names | CRBT, Clembs, Developers, Testers… |
<server.description> | Get the server's description (only available for Communities) | Welcome to the Discord community for the CRBT bot! |
<server.members> | Get the total amount of members in the server. | 30 |
<server.color> | Get the server's Theme color in decimal format. | 16777215 |
<server.currency.singular> | Get the server's currency name (singular form). | Coin |
<server.currency.plural> | Get the server's currency name (plural form). | Coins |
<server.currency.symbol> | Get the server's currency symbol (as an emoji mention) | 🪙 |
<server.items.count> | Get the total number of items in the server's Shop. | 5 |
<server.categories.count> | Get the number of categories in the server's Shop. | 2 |