From 154b59de44d305c17b4e0228e62eca0a408558ed Mon Sep 17 00:00:00 2001 From: Bohdan Horbeshko Date: Sun, 18 Feb 2024 04:36:23 -0500 Subject: Show command execution success status --- telegram/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'telegram/utils.go') diff --git a/telegram/utils.go b/telegram/utils.go index e7d16d6..5c26b8c 100644 --- a/telegram/utils.go +++ b/telegram/utils.go @@ -1169,7 +1169,7 @@ func (c *Client) ProcessOutgoingMessage(chatID int64, text string, returnJid str if replaceId == 0 && (strings.HasPrefix(text, "/") || strings.HasPrefix(text, "!")) { // try to execute commands - response, isCommand := c.ProcessChatCommand(chatID, text) + response, isCommand, _ := c.ProcessChatCommand(chatID, text) if response != "" { c.returnMessage(returnJid, chatID, response) } -- cgit v1.2.3