hdkv
/
i2_bot
Archived
1
Fork 0

Move import path to Github

master
Vladimir Hodakov 2018-05-19 12:14:25 +04:00
parent 67cdb3edb5
commit 98bf2c393b
Signed by: Vladimir Hodakov
GPG Key ID: 673980B6882F82C6
74 changed files with 134 additions and 134 deletions

View File

@ -1,6 +1,6 @@
# i2_bot: бот лиги Инстинкт игры @PokememBroBot
[![Go Report Card](https://goreportcard.com/badge/source.wtfteam.pro/i2_bot/i2_bot)](https://goreportcard.com/report/source.wtfteam.pro/i2_bot/i2_bot)
[![Go Report Card](https://goreportcard.com/badge/github.com/fat0troll/i2_bot)](https://goreportcard.com/report/github.com/fat0troll/i2_bot)
Для запуска нужен правильный ``config.yml``.
Управление зависимостями осуществляет [dep](https://github.com/golang/dep).

View File

@ -4,23 +4,23 @@
package main
import (
"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/sender"
"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"
"github.com/fat0troll/i2_bot/lib/appcontext"
"github.com/fat0troll/i2_bot/lib/broadcaster"
"github.com/fat0troll/i2_bot/lib/chatter"
"github.com/fat0troll/i2_bot/lib/datacache"
"github.com/fat0troll/i2_bot/lib/forwarder"
"github.com/fat0troll/i2_bot/lib/migrations"
"github.com/fat0troll/i2_bot/lib/orders"
"github.com/fat0troll/i2_bot/lib/pinner"
"github.com/fat0troll/i2_bot/lib/pokedexer"
"github.com/fat0troll/i2_bot/lib/reminder"
"github.com/fat0troll/i2_bot/lib/router"
"github.com/fat0troll/i2_bot/lib/sender"
"github.com/fat0troll/i2_bot/lib/squader"
"github.com/fat0troll/i2_bot/lib/statistics"
"github.com/fat0troll/i2_bot/lib/talkers"
"github.com/fat0troll/i2_bot/lib/users"
"github.com/fat0troll/i2_bot/lib/welcomer"
)
var (

View File

@ -13,24 +13,24 @@ import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"
"github.com/robfig/cron"
"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/sender/senderinterface"
"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/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
"github.com/fat0troll/i2_bot/lib/chatter/chatterinterface"
"github.com/fat0troll/i2_bot/lib/config"
"github.com/fat0troll/i2_bot/lib/connections"
"github.com/fat0troll/i2_bot/lib/datacache/datacacheinterface"
"github.com/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
"github.com/fat0troll/i2_bot/lib/migrations/migrationsinterface"
"github.com/fat0troll/i2_bot/lib/orders/ordersinterface"
"github.com/fat0troll/i2_bot/lib/pinner/pinnerinterface"
"github.com/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
"github.com/fat0troll/i2_bot/lib/reminder/reminderinterface"
"github.com/fat0troll/i2_bot/lib/router/routerinterface"
"github.com/fat0troll/i2_bot/lib/sender/senderinterface"
"github.com/fat0troll/i2_bot/lib/squader/squaderinterface"
"github.com/fat0troll/i2_bot/lib/statistics/statisticsinterface"
"github.com/fat0troll/i2_bot/lib/talkers/talkersinterface"
"github.com/fat0troll/i2_bot/lib/users/usersinterface"
"github.com/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
)
// Context is an application context struct

View File

@ -6,7 +6,7 @@ package broadcaster
import (
"time"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (b *Broadcaster) createBroadcastMessage(playerRaw *dbmapping.Player, messageBody string, broadcastType string) (dbmapping.Broadcast, bool) {

View File

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

View File

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

View File

@ -7,7 +7,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// AdminBroadcastMessageCompose saves message for future broadcast

View File

@ -7,8 +7,8 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/constants"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/constants"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// AdminBroadcastMessageSend sends saved message to all private chats

View File

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

View File

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

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (ct *Chatter) userPrivilegesCheck(update *tgbotapi.Update, user *tgbotapi.User) bool {

View File

@ -8,7 +8,7 @@ import (
_ "github.com/go-sql-driver/mysql" // MySQL driver for sqlx
"github.com/go-telegram-bot-api/telegram-bot-api"
"github.com/jmoiron/sqlx"
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
"github.com/fat0troll/i2_bot/lib/config"
)
// BotInit initializes connection to Telegram

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initChats() {

View File

@ -5,8 +5,8 @@ package datacacheinterface
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// DataCacheInterface implements DataCache for importing via appcontext.

View File

@ -8,8 +8,8 @@ import (
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initElements() {

View File

@ -6,10 +6,10 @@ package datacache
import (
"sync"
"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/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/appcontext"
"github.com/fat0troll/i2_bot/lib/datacache/datacacheinterface"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
var (

View File

@ -9,8 +9,8 @@ import (
"strings"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initLeagues() {

View File

@ -8,8 +8,8 @@ import (
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initLevels() {

View File

@ -8,8 +8,8 @@ import (
"strconv"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initLocations() {

View File

@ -8,7 +8,7 @@ import (
"strconv"
"time"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initPlayers() {

View File

@ -9,8 +9,8 @@ import (
"strings"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initPokememes() {

View File

@ -7,7 +7,7 @@ import (
"errors"
"strconv"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initProfiles() {

View File

@ -7,7 +7,7 @@ import (
"errors"
"strconv"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initSquads() {

View File

@ -8,7 +8,7 @@ import (
"strconv"
"time"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (dc *DataCache) initTournamentReports() {

View File

@ -9,8 +9,8 @@ import (
"strings"
"gopkg.in/yaml.v2"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"source.wtfteam.pro/i2_bot/i2_bot/static"
"github.com/fat0troll/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/static"
)
func (dc *DataCache) initWeapons() {

View File

@ -6,7 +6,7 @@ package dbmapping
import (
"time"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/lib/datamapping"
)
// Player is a struct, which represents `players` table item in databse.

View File

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

View File

@ -7,7 +7,7 @@ import (
"regexp"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// ProcessForward process forwards for single-user chats

View File

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

View File

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

View File

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

View File

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

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// Internal functions

View File

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

View File

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

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (p *Pinner) execMassMessagePin(update *tgbotapi.Update, groupChats []dbmapping.Chat) string {

View File

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

View File

@ -8,7 +8,7 @@ import (
"strconv"
"strings"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/lib/datamapping"
)
func (p *Pokedexer) getAdvicePokememes(playerID int, adviceType string) ([]*datamapping.PokememeFull, bool) {

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// ParsePokememe parses pokememe, forwarded from PokememeBroBot, to database

View File

@ -8,7 +8,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/datamapping"
"github.com/fat0troll/i2_bot/lib/datamapping"
)
func (p *Pokedexer) pokememesListingMessage(update *tgbotapi.Update, page int, pokememesArray map[int]*datamapping.PokememeFull) string {

View File

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

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// AdvicePokememesList shows list for catching

View File

@ -4,8 +4,8 @@
package reminder
import (
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/reminder/reminderinterface"
"github.com/fat0troll/i2_bot/lib/appcontext"
"github.com/fat0troll/i2_bot/lib/reminder/reminderinterface"
)
var (

View File

@ -7,7 +7,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (r *Reminder) getRemindersForUser(playerRaw *dbmapping.Player) ([]dbmapping.Alarm, bool) {

View File

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

View File

@ -7,7 +7,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// SendReminders sends reminders for users about coming league tournament

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// CreateAlarmSetting creates alarm setting for user

View File

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

View File

@ -8,7 +8,7 @@ import (
"regexp"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (r *Router) routeGroupRequest(update tgbotapi.Update, playerRaw *dbmapping.Player, chatRaw *dbmapping.Chat) string {

View File

@ -8,7 +8,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (r *Router) routePrivateRequest(update tgbotapi.Update, playerRaw *dbmapping.Player, chatRaw *dbmapping.Chat) string {

View File

@ -4,8 +4,8 @@
package sender
import (
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/sender/senderinterface"
"github.com/fat0troll/i2_bot/lib/appcontext"
"github.com/fat0troll/i2_bot/lib/sender/senderinterface"
)
var (

View File

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

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// SquadsList lists all squads

View File

@ -10,7 +10,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (s *Squader) isUserAnyCommander(playerID int) bool {

View File

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

View File

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

View File

@ -6,7 +6,7 @@ package statistics
import (
"strconv"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// SquadStatictics generates statistics message snippet. Public due to usage in chats list

View File

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

View File

@ -8,7 +8,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
func (s *Statistics) renderPosition(profilesRaw *[]*dbmapping.PlayerProfile, playerRaw *dbmapping.Player) string {

View File

@ -9,7 +9,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/constants"
"github.com/fat0troll/i2_bot/lib/constants"
)
// LongMessage is an easter egg

View File

@ -5,7 +5,7 @@ package talkers
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/constants"
"github.com/fat0troll/i2_bot/lib/constants"
)
// AnyMessageUnauthorized throws when user can't do something

View File

@ -4,8 +4,8 @@
package talkers
import (
"source.wtfteam.pro/i2_bot/i2_bot/lib/appcontext"
"source.wtfteam.pro/i2_bot/i2_bot/lib/talkers/talkersinterface"
"github.com/fat0troll/i2_bot/lib/appcontext"
"github.com/fat0troll/i2_bot/lib/talkers/talkersinterface"
)
var (

View File

@ -7,9 +7,9 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/config"
"source.wtfteam.pro/i2_bot/i2_bot/lib/constants"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/config"
"github.com/fat0troll/i2_bot/lib/constants"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// AcademyMessage gives user link to Bastion

View File

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

View File

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

View File

@ -5,7 +5,7 @@ package users
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// GetPrettyName returns "pretty" name of user (first_name + last name or username)

View File

@ -10,7 +10,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// Internal functions

View File

@ -8,7 +8,7 @@ import (
"strings"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// FormatUsername formats Telegram username for posting

View File

@ -10,7 +10,7 @@ import (
"time"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// Internal functions for Users package

View File

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

View File

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

View File

@ -7,7 +7,7 @@ import (
"strconv"
"github.com/go-telegram-bot-api/telegram-bot-api"
"source.wtfteam.pro/i2_bot/i2_bot/lib/dbmapping"
"github.com/fat0troll/i2_bot/lib/dbmapping"
)
// PrivateWelcomeMessageUnauthorized tell new user what to do.

View File

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