small update

This commit is contained in:
Asaki Yuki
2025-10-26 16:31:22 +07:00
parent 12214df1e9
commit efb717f91f

View File

@@ -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 data = new SlashCommandBuilder().setName("ping").setDescription("Replies with Pong!")
export const exec = async (interaction: ChatInputCommandInteraction) => { export const exec = async (interaction: ChatInputCommandInteraction) => {
await interaction.reply(["Pong!", "# Client "].join("\n")) await interaction.reply({
content: "Pong 🏓!",
flags: MessageFlags.Ephemeral,
})
} }