small update
This commit is contained in:
@@ -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,
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user