Archived
1

Yet another remote change

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

View File

@ -4,22 +4,22 @@
package main
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster"
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter"
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache"
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder"
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations"
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders"
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner"
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer"
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder"
"git.wtfteam.pro/fat0troll/i2_bot/lib/router"
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader"
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics"
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers"
"git.wtfteam.pro/fat0troll/i2_bot/lib/users"
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster"
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache"
"source.wtfteam.pro/i2_bot/i2_bot/lib/forwarder"
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations"
"source.wtfteam.pro/i2_bot/i2_bot/lib/orders"
"source.wtfteam.pro/i2_bot/i2_bot/lib/pinner"
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer"
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder"
"source.wtfteam.pro/i2_bot/i2_bot/lib/router"
"source.wtfteam.pro/i2_bot/i2_bot/lib/squader"
"source.wtfteam.pro/i2_bot/i2_bot/lib/statistics"
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers"
"source.wtfteam.pro/i2_bot/i2_bot/lib/users"
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer"
)
var (

View File

@ -6,23 +6,23 @@ package appcontext
import (
"bitbucket.org/pztrn/flagger"
"bitbucket.org/pztrn/mogrus"
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter/chatterinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
"git.wtfteam.pro/fat0troll/i2_bot/lib/connections"
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache/datacacheinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations/migrationsinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders/ordersinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner/pinnerinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder/reminderinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/router/routerinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader/squaderinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics/statisticsinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster/broadcasterinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter/chatterinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
"source.wtfteam.pro/i2_bot/i2_bot/lib/connections"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache/datacacheinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/forwarder/forwarderinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations/migrationsinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/orders/ordersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/pinner/pinnerinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer/pokedexerinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder/reminderinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/router/routerinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/squader/squaderinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/statistics/statisticsinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/users/usersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer/welcomerinterface"
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"
"github.com/robfig/cron"

View File

@ -4,7 +4,7 @@
package broadcaster
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"time"
)

View File

@ -5,7 +5,7 @@ package broadcasterinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// BroadcasterInterface implements Broadcaster for importing via appcontex

View File

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

View File

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

View File

@ -4,7 +4,7 @@
package broadcaster
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"
)

View File

@ -5,7 +5,7 @@ package chatterinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// ChatterInterface implements Chatter for importing via appcontext.

View File

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

View File

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

View File

@ -4,7 +4,7 @@
package chatter
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

@ -5,7 +5,7 @@ package chatter
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// UpdateChatTitle updates chat title in database

View File

@ -5,7 +5,7 @@ package connections
import (
"bitbucket.org/pztrn/mogrus"
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
_ "github.com/go-sql-driver/mysql"
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"

View File

@ -4,7 +4,7 @@
package datacacheinterface
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// DataCacheInterface implements DataCache for importing via appcontext.

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
)

View File

@ -4,9 +4,9 @@
package datacache
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache/datacacheinterface"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache/datacacheinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"sync"
)

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
)

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
)

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"time"
)

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"sort"
"strconv"
"strings"

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
)

View File

@ -5,7 +5,7 @@ package datacache
import (
"errors"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"strings"
)

View File

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

View File

@ -4,7 +4,7 @@
package forwarder
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"
)

View File

@ -5,7 +5,7 @@ package forwarderinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// ForwarderInterface implements Getters for importing via appcontext.

View File

@ -4,8 +4,8 @@
package migrations
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations/migrationsinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations/migrationsinterface"
)
// Migrations handles all functions of migrations package

View File

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

View File

@ -4,7 +4,7 @@
package orders
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// GetAllOrders returns all orders in database

View File

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

View File

@ -5,7 +5,7 @@ package ordersinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// OrdersInterface implements Orders for importing via appcontext.

View File

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

View File

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

View File

@ -5,8 +5,8 @@ package pokedexer
import (
// local
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer/pokedexerinterface"
)
var (

View File

@ -4,7 +4,7 @@
package pokedexer
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"sort"
"strconv"
"strings"

View File

@ -4,7 +4,7 @@
package pokedexer
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"

View File

@ -4,7 +4,7 @@
package pokedexer
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 pokedexerinterface
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 pokedexer
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,8 +4,8 @@
package reminder
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder/reminderinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder/reminderinterface"
)
var (

View File

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

View File

@ -5,7 +5,7 @@ package reminderinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// ReminderInterface implements Reminder for importing via appcontext

View File

@ -5,7 +5,7 @@ package reminder
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// AlarmsList lists all alarms for user with buttons to enable/disable each of available alarms

View File

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

View File

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

View File

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

View File

@ -5,7 +5,7 @@ package router
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"math/rand"
"regexp"
)

View File

@ -4,7 +4,7 @@
package router
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"
)

View File

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

View File

@ -4,7 +4,7 @@
package squader
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
"strings"
)

View File

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

View File

@ -4,7 +4,7 @@
package squader
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 squader
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"

View File

@ -5,7 +5,7 @@ package squaderinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// SquaderInterface implements Squader for importing via appcontext.

View File

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

View File

@ -4,7 +4,7 @@
package statistics
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"strconv"
)

View File

@ -4,7 +4,7 @@
package statisticsinterface
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 statistics
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,8 +4,8 @@
package talkers
import (
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
)
var (

View File

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

View File

@ -4,7 +4,7 @@
package talkersinterface
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,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"
)

View File

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

View File

@ -4,7 +4,7 @@
package welcomer
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"
)

View File

@ -5,7 +5,7 @@ package welcomerinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
)
// WelcomerInterface implements Welcomer for importing via appcontex