diff --git a/source/Discord/Commands/Bot.ts b/source/Discord/Commands/Bot.ts index e2a8975..4a052e7 100644 --- a/source/Discord/Commands/Bot.ts +++ b/source/Discord/Commands/Bot.ts @@ -1,4 +1,11 @@ -import {CacheType, ChatInputCommandInteraction, hyperlink, PermissionFlagsBits, SlashCommandBuilder} from "discord.js"; +import { + CacheType, + ChatInputCommandInteraction, + hyperlink, + MessageFlags, + PermissionFlagsBits, + SlashCommandBuilder +} from "discord.js"; import {ChatInteractionCommand, Command} from "./Command"; import * as fs from "node:fs"; import {UserError} from "../UserError"; @@ -53,7 +60,8 @@ export class BotCommand implements Command, ChatInteractionCommand { ) interaction.reply({ - embeds: [embed] + embeds: [embed], + flags: MessageFlags.Ephemeral }) }