aboutsummaryrefslogtreecommitdiffstats
path: root/templateCommand.js
diff options
context:
space:
mode:
authorNeel Kamath <neelkamath@pop-os.localdomain>2018-05-18 07:38:50 +0200
committerNeel Kamath <neelkamath@pop-os.localdomain>2018-05-18 07:38:50 +0200
commitdb807bc195cf0dc87f632331040ac47f1f25ea3d (patch)
treebb5e7e18fccd3785bd75459756d7dd7bf907f805 /templateCommand.js
parentAttempt 1 (diff)
downloadhackchat-db807bc195cf0dc87f632331040ac47f1f25ea3d.tar.gz
hackchat-db807bc195cf0dc87f632331040ac47f1f25ea3d.zip
Attempt 2
Diffstat (limited to 'templateCommand.js')
-rw-r--r--templateCommand.js8
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