From 55e9c9188fcced6b74045290b5767c68af572fda Mon Sep 17 00:00:00 2001 From: Sin-MacBook Date: Tue, 11 Aug 2020 23:13:24 +0200 Subject: ok --- src/modules/help.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/modules/help.js (limited to 'src/modules/help.js') 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 }); + }); +}; -- cgit v1.2.3