From 00b21d49549bf8ae69a2f2cae0bf96a2102774d1 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Mon, 10 Feb 2025 15:31:49 -0800 Subject: [PATCH] fix: ephemeral response --- src/modules/about.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/about.ts b/src/modules/about.ts index 4e392c3..0caa1b6 100644 --- a/src/modules/about.ts +++ b/src/modules/about.ts @@ -10,6 +10,7 @@ import { ButtonBuilder, ButtonStyle, EmbedBuilder, + MessageFlags, type ChatInputCommandInteraction, } from "discord.js"; import { i18n } from "../utils/i18n.js"; @@ -21,7 +22,7 @@ import { getLocale } from "./getLocale.js"; */ export const about = async(interaction: ChatInputCommandInteraction): Promise => { - await interaction.deferReply(); + await interaction.deferReply({ flags: [ MessageFlags.Ephemeral ] }); const targetLocale = getLocale(interaction); const version = process.env.npm_package_version ?? "Unknown";