From ff2ceda3c5bb773c1a2eca224776f21bc8a1fc27 Mon Sep 17 00:00:00 2001 From: Sin-MacBook Date: Wed, 12 Aug 2020 19:50:03 +0200 Subject: enhance: use plugin system and switch to json config --- src/modules/help.js | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/modules/help.js (limited to 'src/modules/help.js') diff --git a/src/modules/help.js b/src/modules/help.js deleted file mode 100644 index 076b371..0000000 --- a/src/modules/help.js +++ /dev/null @@ -1,13 +0,0 @@ -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