diff --git a/src/cmd/ping.ts b/src/cmd/ping.ts index 254e148..bd2eb61 100644 --- a/src/cmd/ping.ts +++ b/src/cmd/ping.ts @@ -1,7 +1,10 @@ -import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js" +import { ChatInputCommandInteraction, EmbedBuilder, MessageFlags, SlashCommandBuilder } from "discord.js" export const data = new SlashCommandBuilder().setName("ping").setDescription("Replies with Pong!") export const exec = async (interaction: ChatInputCommandInteraction) => { - await interaction.reply(["Pong!", "# Client "].join("\n")) + await interaction.reply({ + content: "Pong 🏓!", + flags: MessageFlags.Ephemeral, + }) }