hdkv
/
i2_bot
Archived
1
Fork 0

Fix bot failure on profile update

master
Vladimir Hodakov 2018-04-01 17:51:38 +04:00
parent d96f1e9004
commit af525b207f
1 changed files with 0 additions and 1 deletions

View File

@ -183,7 +183,6 @@ func (u *Users) ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Playe
}
pkName := strings.Split(pokememeString, "+")[0]
pkName = strings.Replace(pkName, " ⭐", "", 1)
pkName = strings.TrimSuffix(pkName, " ")
if strings.Contains(pkName, "🔟") {
pkName = strings.Split(pkName, "🔟 ")[1]
} else {