Yet another remote change
Now: source.wtfteam.pro
This commit is contained in:
parent
2bf96eb6a9
commit
1370ab2b91
@ -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 (
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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.
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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 (
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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.
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
)
|
||||
|
||||
|
@ -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 (
|
||||
|
@ -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"
|
||||
)
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user