discord-cmds.js

1.3.8 • Public • Published

discord-cmds.js

NPM version NPM downloads

NPM Banner


📂 | 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

👥 | Contact

Package Sidebar

Install

npm i discord-cmds.js

Weekly Downloads

0

Version

1.3.8

License

MIT

Unpacked Size

23.5 kB

Total Files

8

Last publish

Collaborators

  • whiteclue1