aboutsummaryrefslogtreecommitdiff
path: root/basic.js
diff options
context:
space:
mode:
Diffstat (limited to 'basic.js')
-rw-r--r--basic.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic.js b/basic.js
index b5a9232..0ef4f46 100644
--- 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]