fd-dcc
v2.5.2
Published
discord command register
Downloads
33
Readme
example
/**
* @param {String} path Path to folder with commands modules
* @param {Object} opt Advance Options
* @param {Boolean} opt.debug For use debug mode default `false`
* @param {Number} opt.interval For set command change interval in ms default `3000`
* @param {Boolean} opt.log logs tasks
*/
// interaction types
const TYPES = ["♥","ping", "run", "component", "autocomplete", "modal"]
bot.on("ready", async function () {
await require("fd-dcc").call(this, path, opt)
})