[lint] Fix v2 import path not carrying version

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-10-23 15:06:45 +02:00
parent fb2ad178f0
commit 1409a4bd34
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5
70 changed files with 124 additions and 124 deletions

View file

@ -10,8 +10,8 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func init() {

View file

@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
//go:embed actorDocs.tpl

View file

@ -11,8 +11,8 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var instanceState = uuid.Must(uuid.NewV4()).String()

View file

@ -13,7 +13,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var cronParser = cron.NewParser(cron.SecondOptional | cron.Minute | cron.Hour | cron.Dom | cron.Month | cron.Dow | cron.Descriptor)

View file

@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
func getAuthorizationFromRequest(r *http.Request) (string, *twitch.Client, error) {

View file

@ -6,7 +6,7 @@ import (
"github.com/go-irc/irc"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
type (

View file

@ -15,7 +15,7 @@ import (
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v2"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const expectedMinConfigVersion = 2

View file

@ -11,8 +11,8 @@ import (
"github.com/gorilla/websocket"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const websocketPingInterval = 30 * time.Second

View file

@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func registerEditorAutoMessageRoutes() {

View file

@ -12,7 +12,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type (

View file

@ -8,7 +8,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func registerEditorGlobalMethods() {

View file

@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func registerEditorRulesRoutes() {

View file

@ -5,7 +5,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func ptrStr(s string) *string { return &s }

View file

@ -13,7 +13,7 @@ import (
"github.com/Luzifer/go_helpers/v2/str"
korvike "github.com/Luzifer/korvike/functions"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func init() {

View file

@ -4,7 +4,7 @@ import (
"strings"
"time"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func init() {

4
go.mod
View file

@ -1,6 +1,6 @@
module github.com/Luzifer/twitch-bot
module github.com/Luzifer/twitch-bot/v2
go 1.18
go 1.19
require (
github.com/Luzifer/go-openssl/v4 v4.1.0

View file

@ -8,7 +8,7 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "ban"

View file

@ -10,8 +10,8 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -5,7 +5,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func TestCounterStoreLoop(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/go-irc/irc"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "delay"

View file

@ -6,7 +6,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "delete"

View file

@ -10,7 +10,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const (

View file

@ -7,8 +7,8 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "modchannel"

View file

@ -12,8 +12,8 @@ import (
log "github.com/sirupsen/logrus"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const (

View file

@ -9,8 +9,8 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const (

View file

@ -8,7 +8,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func TestPunishmentRoundtrip(t *testing.T) {

View file

@ -6,8 +6,8 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const (

View file

@ -7,7 +7,7 @@ import (
"github.com/pkg/errors"
"gorm.io/gorm"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func TestQuotesRoundtrip(t *testing.T) {

View file

@ -10,7 +10,7 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -4,7 +4,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "raw"

View file

@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "respond"

View file

@ -8,7 +8,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "timeout"

View file

@ -8,8 +8,8 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -5,7 +5,7 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -6,7 +6,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func TestVariableRoundtrip(t *testing.T) {

View file

@ -6,7 +6,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "whisper"

View file

@ -6,7 +6,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type actor struct{}

View file

@ -9,7 +9,7 @@ import (
"github.com/gorilla/mux"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const actorName = "customevent"

View file

@ -6,7 +6,7 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var formatMessage plugins.MsgFormatter

View file

@ -8,8 +8,8 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type (

View file

@ -7,8 +7,8 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func TestEventDatabaseRoundtrip(t *testing.T) {

View file

@ -17,8 +17,8 @@ import (
log "github.com/sirupsen/logrus"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const (

View file

@ -8,8 +8,8 @@ import (
"gorm.io/gorm/clause"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
const (

View file

@ -10,8 +10,8 @@ import (
"gorm.io/gorm"
"gorm.io/gorm/clause"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type (

View file

@ -7,7 +7,7 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func TestTimerRoundtrip(t *testing.T) {

View file

@ -1,6 +1,6 @@
package api
import "github.com/Luzifer/twitch-bot/plugins"
import "github.com/Luzifer/twitch-bot/v2/plugins"
func Register(args plugins.RegistrationArguments) error {
args.RegisterTemplateFunction("jsonAPI", plugins.GenericTemplateFunctionGetter(jsonAPI))

View file

@ -3,7 +3,7 @@ package numeric
import (
"math"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func Register(args plugins.RegistrationArguments) error {

View file

@ -8,7 +8,7 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func Register(args plugins.RegistrationArguments) error {

View file

@ -2,7 +2,7 @@ package slice
import (
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func Register(args plugins.RegistrationArguments) error {

View file

@ -3,11 +3,11 @@ package v2migrator
import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/internal/actors/counter"
"github.com/Luzifer/twitch-bot/internal/actors/variables"
"github.com/Luzifer/twitch-bot/internal/service/access"
"github.com/Luzifer/twitch-bot/internal/service/timer"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/internal/actors/counter"
"github.com/Luzifer/twitch-bot/v2/internal/actors/variables"
"github.com/Luzifer/twitch-bot/v2/internal/service/access"
"github.com/Luzifer/twitch-bot/v2/internal/service/timer"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
func (s storageFile) migrateCoreKV(db database.Connector) (err error) {

View file

@ -3,8 +3,8 @@ package v2migrator
import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/internal/apimodules/overlays"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/internal/apimodules/overlays"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -3,8 +3,8 @@ package v2migrator
import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/internal/actors/quotedb"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/v2/internal/actors/quotedb"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
)
type (

View file

@ -8,9 +8,9 @@ import (
"github.com/pkg/errors"
"github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/internal/v2migrator/crypt"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/internal/v2migrator/crypt"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type (

4
irc.go
View file

@ -13,8 +13,8 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

10
main.go
View file

@ -25,11 +25,11 @@ import (
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/rconfig/v2"
"github.com/Luzifer/twitch-bot/internal/service/access"
"github.com/Luzifer/twitch-bot/internal/service/timer"
"github.com/Luzifer/twitch-bot/internal/v2migrator"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/internal/service/access"
"github.com/Luzifer/twitch-bot/v2/internal/service/timer"
"github.com/Luzifer/twitch-bot/v2/internal/v2migrator"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
const (

View file

@ -10,7 +10,7 @@ import (
"github.com/go-irc/irc"
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -12,7 +12,7 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
func loadPlugins(pluginDir string) error {

View file

@ -5,8 +5,8 @@ import (
"github.com/robfig/cron/v3"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
type (

View file

@ -18,7 +18,7 @@ import (
"gopkg.in/yaml.v2"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
const remoteRuleFetchTimeout = 2 * time.Second

View file

@ -8,7 +8,7 @@ import (
"github.com/go-irc/irc"
"github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
)
var (

View file

@ -10,31 +10,31 @@ import (
"github.com/Luzifer/go_helpers/v2/backoff"
"github.com/Luzifer/go_helpers/v2/str"
"github.com/Luzifer/twitch-bot/internal/actors/ban"
"github.com/Luzifer/twitch-bot/internal/actors/counter"
"github.com/Luzifer/twitch-bot/internal/actors/delay"
deleteactor "github.com/Luzifer/twitch-bot/internal/actors/delete"
"github.com/Luzifer/twitch-bot/internal/actors/filesay"
"github.com/Luzifer/twitch-bot/internal/actors/modchannel"
"github.com/Luzifer/twitch-bot/internal/actors/nuke"
"github.com/Luzifer/twitch-bot/internal/actors/punish"
"github.com/Luzifer/twitch-bot/internal/actors/quotedb"
"github.com/Luzifer/twitch-bot/internal/actors/raw"
"github.com/Luzifer/twitch-bot/internal/actors/respond"
"github.com/Luzifer/twitch-bot/internal/actors/timeout"
"github.com/Luzifer/twitch-bot/internal/actors/variables"
"github.com/Luzifer/twitch-bot/internal/actors/whisper"
"github.com/Luzifer/twitch-bot/internal/apimodules/customevent"
"github.com/Luzifer/twitch-bot/internal/apimodules/msgformat"
"github.com/Luzifer/twitch-bot/internal/apimodules/overlays"
"github.com/Luzifer/twitch-bot/internal/service/access"
"github.com/Luzifer/twitch-bot/internal/template/api"
"github.com/Luzifer/twitch-bot/internal/template/numeric"
"github.com/Luzifer/twitch-bot/internal/template/random"
"github.com/Luzifer/twitch-bot/internal/template/slice"
"github.com/Luzifer/twitch-bot/pkg/database"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/internal/actors/ban"
"github.com/Luzifer/twitch-bot/v2/internal/actors/counter"
"github.com/Luzifer/twitch-bot/v2/internal/actors/delay"
deleteactor "github.com/Luzifer/twitch-bot/v2/internal/actors/delete"
"github.com/Luzifer/twitch-bot/v2/internal/actors/filesay"
"github.com/Luzifer/twitch-bot/v2/internal/actors/modchannel"
"github.com/Luzifer/twitch-bot/v2/internal/actors/nuke"
"github.com/Luzifer/twitch-bot/v2/internal/actors/punish"
"github.com/Luzifer/twitch-bot/v2/internal/actors/quotedb"
"github.com/Luzifer/twitch-bot/v2/internal/actors/raw"
"github.com/Luzifer/twitch-bot/v2/internal/actors/respond"
"github.com/Luzifer/twitch-bot/v2/internal/actors/timeout"
"github.com/Luzifer/twitch-bot/v2/internal/actors/variables"
"github.com/Luzifer/twitch-bot/v2/internal/actors/whisper"
"github.com/Luzifer/twitch-bot/v2/internal/apimodules/customevent"
"github.com/Luzifer/twitch-bot/v2/internal/apimodules/msgformat"
"github.com/Luzifer/twitch-bot/v2/internal/apimodules/overlays"
"github.com/Luzifer/twitch-bot/v2/internal/service/access"
"github.com/Luzifer/twitch-bot/v2/internal/template/api"
"github.com/Luzifer/twitch-bot/v2/internal/template/numeric"
"github.com/Luzifer/twitch-bot/v2/internal/template/random"
"github.com/Luzifer/twitch-bot/v2/internal/template/slice"
"github.com/Luzifer/twitch-bot/v2/pkg/database"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const ircHandleWaitRetries = 10

View file

@ -1,6 +1,6 @@
package main
import "github.com/Luzifer/twitch-bot/pkg/twitch"
import "github.com/Luzifer/twitch-bot/v2/pkg/twitch"
var (
channelDefaultScopes = []string{

View file

@ -9,7 +9,7 @@ import (
"github.com/pkg/errors"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
const statusIRCMessageReceivedTimeout = 5 * time.Minute

View file

@ -12,7 +12,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/wzshiming/openapi/spec"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
var (

View file

@ -7,8 +7,8 @@ import (
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"github.com/Luzifer/twitch-bot/pkg/twitch"
"github.com/Luzifer/twitch-bot/plugins"
"github.com/Luzifer/twitch-bot/v2/pkg/twitch"
"github.com/Luzifer/twitch-bot/v2/plugins"
)
type (