Migration to new git server
This commit is contained in:
parent
880810d90c
commit
190cdc6e7b
@ -5,21 +5,21 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/broadcaster"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/chatter"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/forwarder"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/migrations"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/orders"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pinner"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pokedexer"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/reminder"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/router"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/router"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/squader"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/statistics"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/talkers"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/users"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/users"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/welcomer"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -7,22 +7,22 @@ import (
|
|||||||
"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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/chatter/chatterinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/chatter/chatterinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/config"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/connections"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/connections"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/migrations/migrationsinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/migrations/migrationsinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/orders/ordersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders/ordersinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pinner/pinnerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/pinner/pinnerinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/reminder/reminderinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/reminder/reminderinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/router/routerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/router/routerinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/squader/squaderinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader/squaderinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/users/usersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
||||||
"lab.pztrn.name/golibs/flagger"
|
"lab.pztrn.name/golibs/flagger"
|
||||||
"lab.pztrn.name/golibs/mogrus"
|
"lab.pztrn.name/golibs/mogrus"
|
||||||
"os"
|
"os"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package broadcaster
|
package broadcaster
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/broadcaster/broadcasterinterface"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/chatter/chatterinterface"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
@ -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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UpdateChatTitle updates chat title in database
|
// UpdateChatTitle updates chat title in database
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
_ "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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/config"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
|
||||||
"lab.pztrn.name/golibs/mogrus"
|
"lab.pztrn.name/golibs/mogrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package forwarder
|
package forwarder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/forwarder/forwarderinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package forwarder
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/migrations/migrationsinterface"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/orders/ordersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/orders/ordersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package orders
|
package orders
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pinner/pinnerinterface"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -5,8 +5,8 @@ package pokedexer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
// local
|
// local
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/pokedexer/pokedexerinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package pokedexer
|
package pokedexer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package pokedexer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -5,7 +5,7 @@ package pokedexer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package pokedexerinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PokedexerInterface implements Pokedexer for importing via appcontext.
|
// PokedexerInterface implements Pokedexer for importing via appcontext.
|
||||||
|
@ -5,7 +5,7 @@ package pokedexer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package reminder
|
package reminder
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/reminder/reminderinterface"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package router
|
package router
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
@ -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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/squader/squaderinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/squader/squaderinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package squader
|
package squader
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// CleanFlood will clean flood from squads
|
// CleanFlood will clean flood from squads
|
||||||
|
@ -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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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 (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/statistics/statisticsinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
package statistics
|
package statistics
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package talkers
|
package talkers
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/talkers/talkersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,8 +5,8 @@ package talkers
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/config"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/config"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AcademyMessage gives user link to Bastion
|
// AcademyMessage gives user link to Bastion
|
||||||
|
@ -5,7 +5,7 @@ package talkersinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TalkersInterface implements Talkers for importing via appcontex
|
// TalkersInterface implements Talkers for importing via appcontex
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package users
|
package users
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/users/usersinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/users/usersinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package users
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package users
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
@ -5,7 +5,7 @@ package users
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -5,7 +5,7 @@ package users
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"strconv"
|
"strconv"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ package usersinterface
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
)
|
)
|
||||||
|
|
||||||
// UsersInterface implements Users for importing via appcontex
|
// UsersInterface implements Users for importing via appcontex
|
||||||
|
@ -4,8 +4,8 @@
|
|||||||
package welcomer
|
package welcomer
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/appcontext"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/appcontext"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/welcomer/welcomerinterface"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
@ -5,7 +5,7 @@ package welcomer
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/go-telegram-bot-api/telegram-bot-api"
|
"github.com/go-telegram-bot-api/telegram-bot-api"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
|
||||||
"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"
|
||||||
"lab.pztrn.name/fat0troll/i2_bot/lib/dbmapping"
|
"git.wtfteam.pro/fat0troll/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