From a4724069c18b319d1e8b35ae81fbd973489ff7f1 Mon Sep 17 00:00:00 2001 From: Pavel Gnedov Date: Wed, 9 Nov 2022 18:46:12 +0700 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D0=B5=20=D1=80=D0=B5=D0=B3=D1=83?= =?UTF-8?q?=D0=BB=D1=8F=D1=80=D0=BA=D0=B8=20=D0=B8=D0=B7=20=D1=81=D0=B2?= =?UTF-8?q?=D0=BE=D0=B9=D1=81=D1=82=D0=B2=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../handlers/current-issues-eccm.bot-handler.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/telegram-bot/handlers/current-issues-eccm.bot-handler.service.ts b/src/telegram-bot/handlers/current-issues-eccm.bot-handler.service.ts index 2392ccc..e4228c0 100644 --- a/src/telegram-bot/handlers/current-issues-eccm.bot-handler.service.ts +++ b/src/telegram-bot/handlers/current-issues-eccm.bot-handler.service.ts @@ -32,7 +32,7 @@ export class CurrentIssuesEccmBotHandlerService if (!this.service) { this.service = service; } - bot.onText(/\/current_issues_eccm/, async (msg) => { + bot.onText(this.forCurrentUser, async (msg) => { const userMetaInfo = await this.userMetaInfoService.findByTelegramId( msg.chat.id, );