mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 13:32:24 +00:00
fixed telego
after github.com/mymmrac/telego from 0.26.3 to 0.27.0
This commit is contained in:
parent
ff55ddd036
commit
cad6eeb9f5
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue