π’Creating slash command
import { ApplicationCommandType } from "discord.js";
import { CreateRow, CreateButton } from "ease-discord-js";
export default {
name: "test",
description: "command to test the library",
type: ApplicationCommandType.ChatInput,
run: async(client, interaction) => {
return interaction.reply({content: "Hello World!"});
}
}Last updated