From b803a9a899aaa75a3ea2bc6623c6afb28f495e8c Mon Sep 17 00:00:00 2001 From: widepeepoclap <88690008+widepeepoclap@users.noreply.github.com> Date: Fri, 13 Jan 2023 17:07:06 +0100 Subject: [PATCH] fix: don't auth for interaction `showModal()` (#9046) Co-authored-by: space --- .../discord.js/src/structures/interfaces/InteractionResponses.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/discord.js/src/structures/interfaces/InteractionResponses.js b/packages/discord.js/src/structures/interfaces/InteractionResponses.js index 2c02a36d2cc6..636f7310e5ac 100644 --- a/packages/discord.js/src/structures/interfaces/InteractionResponses.js +++ b/packages/discord.js/src/structures/interfaces/InteractionResponses.js @@ -255,6 +255,7 @@ class InteractionResponses { type: InteractionResponseType.Modal, data: isJSONEncodable(modal) ? modal.toJSON() : this.client.options.jsonTransformer(modal), }, + auth: false, }); this.replied = true; }