Archived
1

/chats command formatting fix

This commit is contained in:
Vladimir Hodakov 2017-11-26 15:54:05 +04:00
parent 62de77d552
commit 60bf806b50

View File

@ -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"