Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/service/tgbot.go2
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 {