feat: ask ai discord bot (#6842)
Signed-off-by: The-Best-Codes <bestcodes.official@gmail.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js";
|
||||
|
||||
export default {
|
||||
data: new SlashCommandBuilder().setName("ping").setDescription("Ping!"),
|
||||
|
||||
async execute(data: { interaction: ChatInputCommandInteraction }) {
|
||||
const interaction = data.interaction;
|
||||
await interaction.reply("Bot is online.");
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user