Skip to content

Conversation

@Rodentman87
Copy link
Contributor

Fixes #7395, query param was removed a while ago but the docs were never updated.

@Rodentman87 Rodentman87 requested a review from a team as a code owner March 13, 2025 21:50
@Rodentman87 Rodentman87 requested review from colinloretz and removed request for a team March 13, 2025 21:50
@Droid00000
Copy link
Contributor

Shouldn't the description for expires_at be updated here as well? https://discord.com/developers/docs/resources/invite#invite-object-invite-structure

@advaith1
Copy link
Contributor

Is the expires_at field still optional? If so, when is it not returned?

@Sacul0457
Copy link
Contributor

Sacul0457 commented Aug 11, 2025

Any updates on this? Also, it seems like the expires_at field is also present when an invite is created.
https://discord.com/developers/docs/events/gateway-events#invite-create

{'uses': 0, 'type': 0, 'temporary': False, 'max_uses': 0, 'max_age': 43200,
 'is_nickname_changeable': False, 'inviter': {'...'}, 'guild_id': '1294290832219963563', 
 'expires_at': '2025-08-11T15:51:03+00:00', 'created_at': '2025-08-11T03:51:03.054974+00:00', 
 'code': '...', 'channel_id': '1352514922462052423'}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Get Invite endpoint does not respect with_expiration=0

5 participants