/chats command formatting fix
This commit is contained in:
parent
62de77d552
commit
60bf806b50
@ -19,7 +19,7 @@ func (ct *Chatter) GroupsList(update *tgbotapi.Update) string {
|
|||||||
|
|
||||||
for i := range groupChats {
|
for i := range groupChats {
|
||||||
message += "---\n"
|
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"
|
message += "Telegram ID: " + strconv.FormatInt(groupChats[i].Chat.TelegramID, 10) + "\n"
|
||||||
if groupChats[i].ChatRole == "squad" {
|
if groupChats[i].ChatRole == "squad" {
|
||||||
message += "Статистика отряда:\n"
|
message += "Статистика отряда:\n"
|
||||||
|
Reference in New Issue
Block a user