Archived
1

Yet another remote change

Now: source.wtfteam.pro
This commit is contained in:
2018-02-13 22:05:32 +04:00
parent 2bf96eb6a9
commit 1370ab2b91
69 changed files with 120 additions and 116 deletions

View File

@@ -4,8 +4,8 @@
package users
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/users/usersinterface"
)
var (

View File

@@ -4,7 +4,7 @@
package users
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
)

View File

@@ -4,7 +4,7 @@
package users
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
"regexp"
"strconv"
@@ -299,6 +299,10 @@ func (u *Users) ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Playe
rarity = "new year"
meme = strings.Replace(meme, "❄", "", 1)
}
if strings.HasPrefix(meme, "❤️") {
rarity = "valentine"
meme = strings.Replace(meme, "❤️", "", 1)
}
u.fillProfilePokememe(newProfileID, meme, attack, rarity)
}

View File

@@ -4,7 +4,7 @@
package users
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
"strconv"
"strings"

View File

@@ -4,7 +4,7 @@
package users
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
"sort"
"strconv"

View File

@@ -4,7 +4,7 @@
package usersinterface
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
)