diff --git a/src/bot.ts b/src/bot.ts index af5a562..cc4b9ab 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -52,7 +52,7 @@ import { telegramLoggerIncomingMiddleware, telegramLoggerOutcomingMiddleware, } from "./telegramlogger"; -import { botThrottler, translateThrottler } from "./throttler"; +// import { botThrottler, translateThrottler } from "./throttler"; import { escapeHtml } from "./utils"; import { Update } from "telegraf/types"; @@ -446,7 +446,7 @@ const handleTranslateInProgress = async ( } }; -bot.use(botThrottler); +// bot.use(botThrottler); // bot.use( // Composer.optional((context) => !!context.callbackQuery, translateThrottler)