diff options
Diffstat (limited to 'src/modules/help.js')
| -rw-r--r-- | src/modules/help.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/modules/help.js b/src/modules/help.js new file mode 100644 index 0000000..076b371 --- /dev/null +++ b/src/modules/help.js @@ -0,0 +1,13 @@ +const utils = require("../utils"); +const config = require('../config'); + +module.exports = ({ bot, knex, config, commands }) => { + commands.addInboxServerCommand('help', [], async (msg, args, thread) => { + let embed = { + title: "ModMail - Help", + type: "rich", + description: "[mm.bot/commands](https://gist.github.com/8cy/1ecb7106d096f77394122cfa4fae77ad)" + }; + utils.postSystemMessageWithFallback(msg.channel, thread, { embed }); + }); +}; |