diff options
author | Neel Kamath <neelkamath@pop-os.localdomain> | 2018-05-18 07:38:50 +0200 |
---|---|---|
committer | Neel Kamath <neelkamath@pop-os.localdomain> | 2018-05-18 07:38:50 +0200 |
commit | db807bc195cf0dc87f632331040ac47f1f25ea3d (patch) | |
tree | bb5e7e18fccd3785bd75459756d7dd7bf907f805 | |
parent | Attempt 1 (diff) | |
download | hackchat-db807bc195cf0dc87f632331040ac47f1f25ea3d.tar.gz hackchat-db807bc195cf0dc87f632331040ac47f1f25ea3d.zip |
Attempt 2
-rw-r--r-- | templateCommand.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templateCommand.js b/templateCommand.js index 1f2cdd9..90b9aa3 100644 --- a/templateCommand.js +++ b/templateCommand.js @@ -43,7 +43,9 @@ exports.init = (core) => { exports.requiredData = ['echo']; // optional parameters are marked, all others are required -exports.info = { +exports.info = { name: 'showcase', // actual command name - aliases: ['templateModule'] -}; + aliases: ['templateModule'], // optional, an array of other names this module can be executed by + usage: 'showcase {echo}', // used for help output, can be ommited if no parameters are required + description: 'Simple command module template & info' // used for help output +};
\ No newline at end of file |