discord_get_guild_vanity_url
Retrieve a Discord server's vanity invite URL (custom discord.gg link) by guild ID. Verify the VANITY_URL feature is active with the features lookup before calling.
Instructions
Read the server's vanity invite URL, the custom discord.gg link. Requires the VANITY_URL feature. Read-only. Use discord_get_guild_features to check whether the feature is active first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guild_id | Yes | Discord server (guild) ID (snowflake). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| code | Yes |