Yet another remote change
Now: source.wtfteam.pro
This commit is contained in:
parent
2bf96eb6a9
commit
1370ab2b91
@ -4,22 +4,22 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/forwarder"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/orders"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pinner"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/router"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/router"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/squader"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/statistics"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/users"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/users"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -6,23 +6,23 @@ package appcontext
|
|||||||
import (
|
import (
|
||||||
"bitbucket.org/pztrn/flagger"
|
"bitbucket.org/pztrn/flagger"
|
||||||
"bitbucket.org/pztrn/mogrus"
|
"bitbucket.org/pztrn/mogrus"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster/broadcasterinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter/chatterinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter/chatterinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/connections"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/connections"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache/datacacheinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache/datacacheinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/forwarder/forwarderinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations/migrationsinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations/migrationsinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders/ordersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/orders/ordersinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner/pinnerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pinner/pinnerinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer/pokedexerinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder/reminderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder/reminderinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/router/routerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/router/routerinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader/squaderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/squader/squaderinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/statistics/statisticsinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/users/usersinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer/welcomerinterface"
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
"github.com/robfig/cron"
|
"github.com/robfig/cron"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package broadcaster
|
package broadcaster
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package broadcasterinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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
|
// BroadcasterInterface implements Broadcaster for importing via appcontex
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package broadcaster
|
package broadcaster
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/broadcaster/broadcasterinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package broadcaster
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package broadcaster
|
package broadcaster
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package chatterinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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.
|
// ChatterInterface implements Chatter for importing via appcontext.
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package chatter
|
package chatter
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter/chatterinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/chatter/chatterinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package chatter
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package chatter
|
package chatter
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -5,7 +5,7 @@ package chatter
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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
|
// UpdateChatTitle updates chat title in database
|
||||||
|
@ -5,7 +5,7 @@ package connections
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"bitbucket.org/pztrn/mogrus"
|
"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-sql-driver/mysql"
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"github.com/jmoiron/sqlx"
|
"github.com/jmoiron/sqlx"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package datacacheinterface
|
package datacacheinterface
|
||||||
|
|
||||||
import (
|
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.
|
// DataCacheInterface implements DataCache for importing via appcontext.
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
package datacache
|
package datacache
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/datacache/datacacheinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/datacache/datacacheinterface"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"sync"
|
"sync"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package datacache
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package forwarder
|
package forwarder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/forwarder/forwarderinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package forwarder
|
package forwarder
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package forwarderinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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.
|
// ForwarderInterface implements Getters for importing via appcontext.
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package migrations
|
package migrations
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations/migrationsinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/migrations/migrationsinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Migrations handles all functions of migrations package
|
// Migrations handles all functions of migrations package
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package orders
|
package orders
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders/ordersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/orders/ordersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package orders
|
package orders
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// GetAllOrders returns all orders in database
|
// GetAllOrders returns all orders in database
|
||||||
|
@ -5,7 +5,7 @@ package orders
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package ordersinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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.
|
// OrdersInterface implements Orders for importing via appcontext.
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package pinner
|
package pinner
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner/pinnerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pinner/pinnerinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package pinner
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -5,8 +5,8 @@ package pokedexer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// local
|
// local
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/pokedexer/pokedexerinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexer
|
package pokedexer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexer
|
package pokedexer
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexer
|
package pokedexer
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexerinterface
|
package pokedexerinterface
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexer
|
package pokedexer
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package reminder
|
package reminder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder/reminderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder/reminderinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package reminder
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package reminderinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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
|
// ReminderInterface implements Reminder for importing via appcontext
|
||||||
|
@ -5,7 +5,7 @@ package reminder
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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
|
// AlarmsList lists all alarms for user with buttons to enable/disable each of available alarms
|
||||||
|
@ -5,7 +5,7 @@ package reminder
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package reminder
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package router
|
package router
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package router
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"math/rand"
|
||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package router
|
package router
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader/squaderinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/squader/squaderinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package squader
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -5,7 +5,7 @@ package squaderinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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.
|
// SquaderInterface implements Squader for importing via appcontext.
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/statistics/statisticsinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package statisticsinterface
|
package statisticsinterface
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package talkers
|
package talkers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package talkers
|
package talkers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
|
||||||
"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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package talkersinterface
|
package talkersinterface
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/users/usersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
@ -299,6 +299,10 @@ func (u *Users) ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Playe
|
|||||||
rarity = "new year"
|
rarity = "new year"
|
||||||
meme = strings.Replace(meme, "❄", "", 1)
|
meme = strings.Replace(meme, "❄", "", 1)
|
||||||
}
|
}
|
||||||
|
if strings.HasPrefix(meme, "❤️") {
|
||||||
|
rarity = "valentine"
|
||||||
|
meme = strings.Replace(meme, "❤️", "", 1)
|
||||||
|
}
|
||||||
u.fillProfilePokememe(newProfileID, meme, attack, rarity)
|
u.fillProfilePokememe(newProfileID, meme, attack, rarity)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"sort"
|
"sort"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package usersinterface
|
package usersinterface
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package welcomer
|
package welcomer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
|
||||||
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
"source.wtfteam.pro/i2_bot/i2_bot/lib/welcomer/welcomerinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package welcomer
|
package welcomer
|
||||||
|
|
||||||
import (
|
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"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package welcomerinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"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
|
// WelcomerInterface implements Welcomer for importing via appcontex
|
||||||
|
Reference in New Issue
Block a user