diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-10-25 22:33:17 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-10-25 22:33:17 +0300 |
| commit | cad6eeb9f536ffe9cc54c699ba9aded23ebb2683 (patch) | |
| tree | f58f6a628581fd60eef79c1a2c747e3d038c7bb6 /web | |
| parent | ff55ddd036e2af798e34c4bca6c44cd9ff254786 (diff) | |
fixed telego
after github.com/mymmrac/telego from 0.26.3 to 0.27.0
Diffstat (limited to 'web')
| -rw-r--r-- | web/service/tgbot.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
