# Get Server

> Retrieve a Discord server's information by its ID.

- ID: `get_discord_guild`
- Type: Block
- Category: [Servers](https://inventor.bot/docs/reference/blocks/servers.md)

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `server_id` | yes | ID of the server to retrieve. |  |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `server_id` | ID of the server. |  |
| `server_name` | Name of the server. |  |
| `server_icon_url` | Icon URL for the server. |  |
| `server_banner_url` | Banner URL for the server. |  |
| `region` | Server region. |  |
| `owner_id` | ID of the server owner. |  |
| `member_count` | Approximate member count for the server. | e.g. `"42"` |
| `verification_level` | Server verification level. | e.g. `"2"` |
| `public_updates_channel_id` | ID of the public updates channel. |  |
| `system_channel_id` | ID of the system channel. |  |
| `description` | Server description. |  |
| `nsfw_level` | NSFW level of the server. | e.g. `"0"` |
| `premium_tier` | Boost tier of the server. | e.g. `"2"` |
| `premium_subscription_count` | Number of boosts on the server. | e.g. `"3"` |
| `boost_role_id` | ID of the Server Booster role. |  |
| `rules_channel_id` | ID of the rules channel. |  |

**Example**

```go
guild := get_discord_guild(Args{server_id: trigger.server_id})
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Server ID: " + guild.server_id,
})
```