hdkv
/
i2_bot
Archived
1
Fork 0

Valentine label fix [2]

master
Vladimir Hodakov 2018-02-13 23:14:14 +04:00
parent 5da61b460b
commit 3be6ddd8a8
1 changed files with 1 additions and 1 deletions

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)
} }