From 0aec9c613ef928348d594686f69ab971ff96e57c Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Sun, 31 Dec 2023 16:01:49 +0900 Subject: [PATCH] fix: reply with ephemeral messages to interactions (#13) --- src/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.ts b/src/commands.ts index f3df69a..a9550a8 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -46,7 +46,7 @@ export const commands: ExecutableCommand[] = [ .setName("Update Embeds") .toJSON(), execute: async (interaction) => { - interaction.deferReply(); + interaction.deferReply({ ephemeral: true }); await updateEmbedsMessage(interaction.targetMessage); interaction.deleteReply(); },