From 684ce6a69317a09dd273cbc11481d006b9a3ad58 Mon Sep 17 00:00:00 2001 From: keenkairos <83495194+keenkairos@users.noreply.github.com> Date: Sat, 1 May 2021 15:59:57 +0400 Subject: [PATCH] add(types): withExpiration field to GetInvite (#884) Reference: https://github.com/discord/discord-api-docs/commit/2c9f17887a8e5c95d48b93901f4543beda4c09be --- src/types/invites/get_invite.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/types/invites/get_invite.ts b/src/types/invites/get_invite.ts index 46a3caaad..44ef3f652 100644 --- a/src/types/invites/get_invite.ts +++ b/src/types/invites/get_invite.ts @@ -2,4 +2,6 @@ export interface GetInvite { /** Whether the invite should contain approximate member counts */ withCounts?: boolean; + /** Whether the invite should contain the expiration date. */ + withExpiration?: boolean; }