Disabled help maintenance

This commit is contained in:
Lucas Gabriel 2025-01-24 20:42:47 -03:00
parent 6f42370959
commit a1896b12c9
No known key found for this signature in database
GPG Key ID: D9B075FC6DC93985

View File

@ -29,13 +29,9 @@ async function sendHelpMessage(ctx, isEditing) {
} }
module.exports = (bot) => { module.exports = (bot) => {
// bot.help(spamwatchMiddleware, async (ctx) => {
// await sendHelpMessage(ctx);
// });
bot.help(spamwatchMiddleware, async (ctx) => { bot.help(spamwatchMiddleware, async (ctx) => {
ctx.reply("\`\`[DISABLED BY MAINTENANCE, SORRY ABOUT THAT]\`\`") await sendHelpMessage(ctx);
}) });
bot.command("about", spamwatchMiddleware, async (ctx) => { bot.command("about", spamwatchMiddleware, async (ctx) => {
const Strings = getStrings(ctx.from.language_code); const Strings = getStrings(ctx.from.language_code);