diff options
Diffstat (limited to 'basic.js')
-rw-r--r-- | basic.js | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,8 +1,12 @@ +const common = require("./common.js") + module.exports = { help: { params: "[<command>]", help: "Display help for a commands or show list of available commands", func: (msg, [cmd], {commands}) => { + cmd = cmd && common.stripPings(cmd) + if (cmd) { let def = commands[cmd] |