guildVanityUrl := get_discord_guild_vanity_url(Args{server_id: trigger.server_id})
send_text_message(Args{
channel_id: trigger.channel_id,
message_content: "Vanity URL Code: " + guildVanityUrl.vanity_url_code,
})
Inputs
Server IDRequired
ID of the server to retrieve the vanity URL for.
Outputs
Vanity URL Code
Invite code used by the server's vanity URL.
Vanity URL
Full vanity invite URL for the server.
Uses
Number of recorded uses for the vanity URL.
Example: 42
Build a bot using blocks like Get Server Vanity URL
Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.
Advanced Documentation
This documentation can be useful when using code mode. View as Markdown
ID:
get_discord_guild_vanity_urlInputs
| Field | InventScript name | Value |
|---|---|---|
| Server ID | server_id |
Outputs
| Field | InventScript name | Value |
|---|---|---|
| Vanity URL Code | vanity_url_code | |
| Vanity URL | vanity_url | |
| Uses | uses | e.g. "42" |