Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove query param that no longer exists on GET /invites/<code> #7424

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/resources/Invite.md
Original file line number Diff line number Diff line change
@@ -22,7 +22,7 @@ Represents a code that when used, adds a user to a guild or group DM channel.
| target_application? | partial [application](#DOCS_RESOURCES_APPLICATION/application-object) object | the embedded application to open for this voice channel embedded application invite |
| approximate_presence_count? | integer | approximate count of online members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
| approximate_member_count? | integer | approximate count of total members, returned from the `GET /invites/<code>` endpoint when `with_counts` is `true` |
| expires_at? | ?ISO8601 timestamp | the expiration date of this invite, returned from the `GET /invites/<code>` endpoint when `with_expiration` is `true` |
| expires_at? | ?ISO8601 timestamp | the expiration date of this invite |
| stage_instance? | [invite stage instance](#DOCS_RESOURCES_INVITE/invite-stage-instance-object) object | stage instance data if there is a [public Stage instance](#DOCS_RESOURCES_STAGE_INSTANCE) in the Stage channel this invite is for (deprecated) |
| guild_scheduled_event? | [guild scheduled event](#DOCS_RESOURCES_GUILD_SCHEDULED_EVENT/guild-scheduled-event-object) object | guild scheduled event data, only included if `guild_scheduled_event_id` contains a valid guild scheduled event id |

@@ -153,7 +153,6 @@ Returns an [invite](#DOCS_RESOURCES_INVITE/invite-object) object for the given c
| Field | Type | Description |
|---------------------------|--------------------------------------------------|-------------------------------------------------------------|
| with_counts? | [boolean](#DOCS_REFERENCE/boolean-query-strings) | whether the invite should contain approximate member counts |
| with_expiration? | [boolean](#DOCS_REFERENCE/boolean-query-strings) | whether the invite should contain the expiration date |
| guild_scheduled_event_id? | snowflake | the guild scheduled event to include with the invite |

## Delete Invite % DELETE /invites/{invite.code#DOCS_RESOURCES_INVITE/invite-object}