From cad6eeb9f536ffe9cc54c699ba9aded23ebb2683 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 25 Oct 2023 23:03:17 +0330 Subject: [PATCH] fixed telego after github.com/mymmrac/telego from 0.26.3 to 0.27.0 --- web/service/tgbot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/service/tgbot.go b/web/service/tgbot.go index aaf6752f..69cfd724 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -192,7 +192,7 @@ func (t *Tgbot) OnReceive() { func (t *Tgbot) answerCommand(message *telego.Message, chatId int64, isAdmin bool) { msg, onlyMessage := "", false - command, commandArgs := tu.ParseCommand(message.Text) + command, _, commandArgs := tu.ParseCommand(message.Text) // Extract the command from the Message. switch command {