]> git.lizzy.rs Git - furrybot-discord.git/blobdiff - basic.js
Implement operators
[furrybot-discord.git] / basic.js
index b5a9232d43f9f5a30cbbb01487eec9349326f59d..0ef4f4607d209c4ecd443ce36fdce8a0356241df 100644 (file)
--- a/basic.js
+++ b/basic.js
@@ -2,7 +2,7 @@ module.exports = {
        help: {
                params: "[<command>]",
                help: "Display help for a commands or show list of available commands",
-               func: (msg, [cmd]) => {
+               func: (msg, [cmd], {commands}) => {
                        if (cmd) {
                                let def = commands[cmd]