mirror of
https://github.com/abocn/TelegramBot.git
synced 2025-03-10 12:49:57 +00:00
Help disabled to further maintenance
This commit is contained in:
parent
52f3f643c1
commit
4a645cc85b
@ -29,9 +29,13 @@ 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) => {
|
||||||
await sendHelpMessage(ctx);
|
ctx.reply("\`\`[DISABLED BY MAINTENANCE, SORRY ABOUT THAT]\`\`")
|
||||||
});
|
})
|
||||||
|
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user