aboutsummaryrefslogtreecommitdiff
path: root/telegram/commands.go
diff options
context:
space:
mode:
authorbodqhrohro <bodqhrohro@gmail.com>2019-12-03 19:48:41 +0300
committerbodqhrohro <bodqhrohro@gmail.com>2019-12-03 19:48:41 +0300
commit9d31a390a8bf5c554eb0e934a2bfe2fa8feca8eb (patch)
tree0b05f0aecb4c684e183ca722239bca6197bf4e63 /telegram/commands.go
parent90f0490e1626f3e0cd753caa5a4aac7787cb6dfc (diff)
Send messages to Telegram
Diffstat (limited to 'telegram/commands.go')
-rw-r--r--telegram/commands.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/telegram/commands.go b/telegram/commands.go
index 102a2c4..606e28d 100644
--- a/telegram/commands.go
+++ b/telegram/commands.go
@@ -141,8 +141,8 @@ func (c *Client) ProcessChatCommand(cmdline string) (string, bool) {
cmd, _ := parseCommand(cmdline)
switch cmd {
case "help":
- return helpString(helpTypeChat), false
+ return helpString(helpTypeChat), true
}
- return "", true
+ return "", false
}