diff options
author | Neel Kamath <neelkamath@protonmail.com> | 2018-05-13 12:33:22 +0200 |
---|---|---|
committer | Neel Kamath <neelkamath@protonmail.com> | 2018-05-13 12:33:22 +0200 |
commit | 343157350f627b9495184246a90033a1c41f1a2c (patch) | |
tree | e8688471fbee2bdcd5834abcb559ea1694eecadf /server/src/commands/core/chat.js | |
parent | Use the 'use strict' directive when needed (diff) | |
download | hackchat-343157350f627b9495184246a90033a1c41f1a2c.tar.gz hackchat-343157350f627b9495184246a90033a1c41f1a2c.zip |
Re-add module documentation
Diffstat (limited to '')
-rw-r--r-- | server/src/commands/core/chat.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/src/commands/core/chat.js b/server/src/commands/core/chat.js index 36a98e8..bce6adb 100644 --- a/server/src/commands/core/chat.js +++ b/server/src/commands/core/chat.js @@ -55,4 +55,8 @@ exports.run = async (core, server, socket, data) => { exports.requiredData = ['text']; -exports.info = { name: 'chat' }; +exports.info = { + name: 'chat', + usage: 'chat {text}', + description: 'Broadcasts passed `text` field to the calling users channel' +};
\ No newline at end of file |