aboutsummaryrefslogtreecommitdiff
path: root/telegram/utils.go
diff options
context:
space:
mode:
authorBohdan Horbeshko <bodqhrohro@gmail.com>2024-02-18 12:36:23 +0300
committerBohdan Horbeshko <bodqhrohro@gmail.com>2024-02-18 12:36:23 +0300
commit154b59de44d305c17b4e0228e62eca0a408558ed (patch)
treec0a528d014c4c24a3358e77c6a4b78f98f5bf187 /telegram/utils.go
parent5dd60450c28e602865e94bd28898eb4e61594a54 (diff)
Show command execution success status
Diffstat (limited to 'telegram/utils.go')
-rw-r--r--telegram/utils.go2
1 files changed, 1 insertions, 1 deletions
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)
}