Skip to main content

<server>

Allows you to get any of the information on a server.

Context

EventContext
Welcome messageserver is assigned to the server that the user joined.
Farewell messageserver is assigned to the server that the user left.
Custom commandserver is assigned to the server where the command was triggered. (not available)

Syntax

**<server.name> - Members** 
We have **<server.members>** members!

Properties

PlaceholderDescriptionExample
<server.name>Get the server's nameCRBT Community
<server.id>Get the server's Discord ID782584672298729473
<server.icon>Get a link to the server's icon, or null if none is setDiscord icon URL
<server.banner>Get a link to the server's banner, or null if none is setnull
<server.owner>Get the server's owner ID327690719085068289
<server.created>Get the server's creation date2020-11-29T13:32:00Z
<server.roles>Get a list of the server's role namesCRBT, 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