From 4a645cc85be8b8ee3bf7dedb411e69e2cd56a6b9 Mon Sep 17 00:00:00 2001 From: Lucas Gabriel Date: Sun, 19 Jan 2025 00:58:52 -0300 Subject: [PATCH] Help disabled to further maintenance --- src/commands/help.js | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/commands/help.js b/src/commands/help.js index dd43a5d..7315e70 100644 --- a/src/commands/help.js +++ b/src/commands/help.js @@ -29,10 +29,14 @@ async function sendHelpMessage(ctx, isEditing) { } module.exports = (bot) => { - bot.help(spamwatchMiddleware, async (ctx) => { - await sendHelpMessage(ctx); - }); + // bot.help(spamwatchMiddleware, async (ctx) => { + // await sendHelpMessage(ctx); + // }); + bot.help(spamwatchMiddleware, async (ctx) => { + ctx.reply("\`\`[DISABLED BY MAINTENANCE, SORRY ABOUT THAT]\`\`") + }) + bot.command("about", spamwatchMiddleware, async (ctx) => { const Strings = getStrings(ctx.from.language_code); const aboutMsg = Strings.botAbout.replace("{sourceLink}", `${process.env.botSource}`); @@ -99,4 +103,4 @@ module.exports = (bot) => { break; } }); -} \ No newline at end of file +}