From 60bf806b50f0e6e11e518f49cf0b4f1bb9403f13 Mon Sep 17 00:00:00 2001 From: Vladimir Hodakov Date: Sun, 26 Nov 2017 15:54:05 +0400 Subject: [PATCH] /chats command formatting fix --- lib/chatter/responders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chatter/responders.go b/lib/chatter/responders.go index 410ec64..36251dc 100644 --- a/lib/chatter/responders.go +++ b/lib/chatter/responders.go @@ -19,7 +19,7 @@ func (ct *Chatter) GroupsList(update *tgbotapi.Update) string { for i := range groupChats { message += "---\n" - message += "[#" + strconv.Itoa(groupChats[i].Chat.ID) + "] _" + groupChats[i].Chat.Name + "_\n" + message += "\\[#" + strconv.Itoa(groupChats[i].Chat.ID) + "] _" + c.Users.FormatUsername(groupChats[i].Chat.Name) + "_\n" message += "Telegram ID: " + strconv.FormatInt(groupChats[i].Chat.TelegramID, 10) + "\n" if groupChats[i].ChatRole == "squad" { message += "Статистика отряда:\n"