Skip to content

Commit 759a304

Browse files
authored
Add note about vanity_url_code field (#7355)
1 parent 9ce6dfc commit 759a304

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/resources/Guild.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1300,6 +1300,9 @@ Returns the [widget](#DOCS_RESOURCES_GUILD/guild-widget-object) for the guild. F
13001300

13011301
Returns a partial [invite](#DOCS_RESOURCES_INVITE/invite-object) object for guilds with that feature enabled. Requires the `MANAGE_GUILD` permission. `code` will be null if a vanity url for the guild is not set.
13021302

1303+
> info
1304+
> This endpoint is required to get the usage count of the vanity invite, but the invite code can be accessed as `vanity_url_code` in the [guild object](#DOCS_RESOURCES_GUILD/guild-object) without having the `MANAGE_GUILD` permission.
1305+
13031306
###### Example Partial Invite Object
13041307

13051308
```json

0 commit comments

Comments
 (0)