Archived
1

Add karma field to players

Karma will be used for inactive users filtering
This commit is contained in:
2018-05-05 09:50:07 +04:00
parent b8af1740fb
commit 0a5361ee09
6 changed files with 36 additions and 2 deletions

View File

@@ -192,6 +192,8 @@ func (u *Users) ProfileMessage(update *tgbotapi.Update, playerRaw *dbmapping.Pla
}
}
message += "\nКарма: " + strconv.Itoa(playerRaw.Karma)
message += "\n\n⏰Последнее обновление профиля: " + profileRaw.CreatedAt.Format("02.01.2006 15:04:05")
message += "\nНе забывай обновляться, это важно для получения актуальной информации.\n\n"
message += "/best посмотреть лучших покемемов для поимки\n"