Archived
1

Valentine label fix [2]

This commit is contained in:
Vladimir Hodakov 2018-02-13 23:14:14 +04:00
parent 5da61b460b
commit 3be6ddd8a8

View File

@ -301,7 +301,7 @@ func (u *Users) ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Playe
} }
if strings.HasPrefix(meme, "❤") { if strings.HasPrefix(meme, "❤") {
rarity = "valentine" rarity = "valentine"
meme = strings.Replace(meme, "❤", "", 1) meme = strings.Replace(meme, "❤", "", 1)
} }
u.fillProfilePokememe(newProfileID, meme, attack, rarity) u.fillProfilePokememe(newProfileID, meme, attack, rarity)
} }