From 432cdbe88ad6a0888b499466d54ab82735ba539c Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Tue, 6 May 2025 15:24:12 +0100 Subject: [PATCH] refactor(Client): Remove `with_expiration` query parameter (#10800) refactor(Client): remove `with_expiration` Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/client/Client.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/discord.js/src/client/Client.js b/packages/discord.js/src/client/Client.js index 34500ebe5..6dff855a0 100644 --- a/packages/discord.js/src/client/Client.js +++ b/packages/discord.js/src/client/Client.js @@ -441,7 +441,6 @@ class Client extends BaseClient { const code = resolveInviteCode(invite); const query = makeURLSearchParams({ with_counts: true, - with_expiration: true, guild_scheduled_event_id: options?.guildScheduledEventId, }); const data = await this.rest.get(Routes.invite(code), { query });