<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.memberCount>** members!
We have 500 members!
Properties
Property | Description | Example |
---|---|---|
name | Get the server’s name | CRBT Community |
id | Get the server’s Discord ID | 782584672298729473 |
icon | Get a link to the server’s icon, or null if none is set | Discord icon URL |
banner | Get a link to the server’s banner, or null if none is set | null |
owner | Get the server’s owner ID | 327690719085068289 |
created | Get the server’s creation date | 2020-11-29T13:32:00Z |
roles | Get a list of the server’s role names | CRBT, Clembs, Developers, Testers… |
description | Get the server’s description (only available for Communities) | Welcome to the Discord community for the CRBT bot! |
members | Get the total amount of members in the server. | 30 |