1.1.0 • Published 3 years ago
cosmxc v1.1.0
🤔 Whats is this?
Just a simple dynamic help command for your Discord bot.
💻 Installation
npm install cosmxc
⚙️ Usage
Edit the code depending on your parameters and command handler.
const { dynamicHelp } = require("cosmxc");
module.exports = {
name: 'help',
description: 'Sends all the commands or a command information',
examples: ['help', 'help ban'],
category: 'Utility Commands',
usage: 'help (command)',
execute(client, message, args) {
dynamicHelp(client, message, args[0], "BOT_PREFIX", "EMBED_COLOR");
}
}