diff --git a/command.js b/command.js index 68c5ece..d860c44 100644 --- a/command.js +++ b/command.js @@ -3,7 +3,7 @@ var commands = []; function cmd(info, func) { var data = info; data.function = func; - if (!data.dontAddCommandList) data.dontAddCommandList = false; + if (!data.AddCommandList) data.AddCommandList = true; if (!info.desc) info.desc = ''; if (!data.fromMe) data.fromMe = false; if (!info.category) data.category = 'misc'; @@ -18,3 +18,4 @@ module.exports = { Module:cmd, commands, }; +