Closed enzostvs closed 4 years ago
Hi,
I use registerCommandsIn like this:
const modules = ["ban.js", "clear.js"] .registerCommandsIn({ dirname: path.join(__dirname, 'commands'), filter: (u) => modules.includes(u), })
I need to charge only commands include in my array modules, but only first commands work... Do u have an another solutions for me ?
modules
Thanks 👌
Resolved with inhibitor
Hi,
I use registerCommandsIn like this:
I need to charge only commands include in my array
modules
, but only first commands work... Do u have an another solutions for me ?Thanks 👌