discord-api-docs
discord-api-docs copied to clipboard
Document invite profile
I noticed that the GET /invites/{code} endpoint has included a profile field for a while now, but it hasn’t been documented yet. This PR does exactly that.
Additionally, there’s an endpoint not accessible to bots: guilds/{id}/profile. I assume it returns the same information, which is why I think the seperate object belongs under guild rather than invite.
This is my first contribution here, so any feedback or guidance would be greatly appreciated.
Maybe relevant:
- https://github.com/discord/discord-api-docs/discussions/7846