discord-cmds.js
v1.3.8
Published
A package for handling normal and slash commands of your discord.js bots!
Downloads
2
Maintainers
Readme
📂 | Installation
npm install discord-cmds.js📜 | Setup
const { Client } = require("discord.js")
const discmd = require("discord-cmds.js")
const client = new Client({ intents: 32767 })
const dcjs = new discmd(client,{
cmdDir: "./commands",
slash: true, //your commands can be runned as slash commands!
normal: true, //your commands can be runned as normal commands!
prefix: "!",
notOwnerMsg: "You are not my owner",
ownerID: "", //bot owner id!
notHavingPermsMsg: "You don't have {PERMISSION} perms!",
clientNotHavingPermsMsg: "I have have {PERMISSION} perms!"
})
client.on("ready", () => {
console.log("bot ready")
})
client.login("token")📔 | discord-cmds documentation
- https://discord-cmds.js.org
