From 5a23e4024624b611ac2e34befde6d653f2fba79c Mon Sep 17 00:00:00 2001 From: Maisy Linning <maisy.linning@discordapp.com> Date: Thu, 13 Mar 2025 14:48:09 -0700 Subject: [PATCH 1/2] remove query param that no longer exists --- docs/resources/Invite.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/resources/Invite.md b/docs/resources/Invite.md index 9649395850..ed34ec33f3 100644 --- a/docs/resources/Invite.md +++ b/docs/resources/Invite.md @@ -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} From fc5930eba4e5eb0be5bb9e5af4d50c6b09c826ee Mon Sep 17 00:00:00 2001 From: Maisy Linning <maisy.linning@discordapp.com> Date: Fri, 14 Mar 2025 08:08:11 -0700 Subject: [PATCH 2/2] update description for expires_at --- docs/resources/Invite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/resources/Invite.md b/docs/resources/Invite.md index ed34ec33f3..014408b391 100644 --- a/docs/resources/Invite.md +++ b/docs/resources/Invite.md @@ -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 |