⚠️WARNING️ This package is now deprecated.
Discord Bot Commands Manager🤖
Discord Bot Commands Manager(dbcm) is project to support discord bot command control in a few lines.
Install
- NPM:
npm install dbcm --save
- Yarn
yarn add dbcm
Usage
const Discord = const dbcm = const client = dev: "Dev ID" || "Dev ID" "Dev ID" //That will ignore cooldown and blacklist. lang: "en-US" //This also can be setted by locale. (default: english) Supported languages: kr(korean), en(english) and pt(portuguese-brazil) disableEveryone: true //discord.js client options are also valid. ignoresCooldown: "User1" "User2" //Specifying users to ignore cooldowns ignoreCooldownIfIsAdmin: true //This will cause them to ignore cooldowns if they have admin permission cooldown: time: 3000 //3 seconds msg: "%{message.author}, you're in cooldown to use the commands." /** * % * % * % * % * % */ blacklist: list: "User ID" msg: "%{message.author}, you're on blacklist." /** * % * % * % * $ */ //Registering the commandsclient /*If you type only client.registerCommands(require.resolve("./commands")), the two settings above will remain true which is the default.*/ //Running the commandsclient
Example
Please visit dbcm-example
Author
👤 제로ㅣBrazil
- Github: @Zero-Brazil734
- Discord: 제로ㅣBrazil#5005
- Email: zero734kr@gmail.com
🤝 Contributing
Contributions, issues and feature requests are very welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 제로ㅣBrazil.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator