Special profile signature in /users list
This commit is contained in:
parent
60bf806b50
commit
60365e1637
@ -94,8 +94,12 @@ func (u *Users) usersList(update *tgbotapi.Update, page int, usersArray []dbmapp
|
||||
message += "\n"
|
||||
message += "Telegram ID: " + strconv.Itoa(usersArray[i].Player.TelegramID) + "\n"
|
||||
message += "Последнее обновление: " + usersArray[i].Profile.CreatedAt.Format("02.01.2006 15:04:05") + "\n"
|
||||
} else {
|
||||
if usersArray[i].Player.Status == "special" {
|
||||
message += " _суперюзер_\n"
|
||||
} else {
|
||||
message += " _без профиля_\n"
|
||||
}
|
||||
message += "Telegram ID: " + strconv.Itoa(usersArray[i].Player.TelegramID) + "\n"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user