From e42d7d75fee7ff8b17f14cd03fd1a5894538a908 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sat, 21 Jun 2025 21:12:29 +0800 Subject: [PATCH] =?UTF-8?q?=D0=91=D0=BE=D1=82:=20=D0=BE=D1=82=D0=BF=D1=80?= =?UTF-8?q?=D0=B0=D0=B2=D0=BA=D0=B0=20help-=D1=81=D0=BE=D0=BE=D0=B1=D1=89?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D1=8F=20=D0=BF=D1=80=D0=B8=20/start?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Core/Bot.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Core/Bot.php b/app/Core/Bot.php index 3d9b2df..3f4593c 100644 --- a/app/Core/Bot.php +++ b/app/Core/Bot.php @@ -75,6 +75,7 @@ class Bot $this->bot->sendChatAction($this->update->getMessage()->getChat()->getId(), 'typing'); $commandText = $this->getBotCommandText(); return match (true) { + str_starts_with($commandText, '/start') => $this->processHelpCommand(), str_starts_with($commandText, '/list') => $this->processListCommand(), str_starts_with($commandText, '/info') => $this->processInfoCommand(), str_starts_with($commandText, '/help') => $this->processHelpCommand(),