Cat Discord Command Builder
npm install catcommandsnpm i catcommands
js
// index.js
const CatCommands = require('catcommands')
const { Client } = require('discord.js')
const commandsFolder = __dirname + "\\commands"
// Do your normal Discord.js stuff...
// Creating a CatCommands instance
CatCommands.Setup(commandsFolder, Client)
`
`js
// hello.js
module.exports = {
async execute(interaction, client) {
interaction.reply("Hello!")
},
cmddata: new SlashCommandBuilder()
.setName("hello")
.setDescription("says hello")
}
``