diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-05 21:58:08 +0100 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2022-03-05 21:58:08 +0100 |
commit | 48faec149c25c22bbaeaacddcf025c72336b7543 (patch) | |
tree | 577ae13c609979af7cf6892f3df583661582a54d /basic.js | |
parent | 5fa566734ecd144d3bdc203a7ff3b131aa7dfadf (diff) | |
download | furrybot-discord-48faec149c25c22bbaeaacddcf025c72336b7543.tar.xz |
Make bot ping proof
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] |