Skip to content

Commit

Permalink
fixed module name
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Oct 11, 2023
1 parent b69b0f0 commit 8c71511
Show file tree
Hide file tree
Showing 73 changed files with 196 additions and 196 deletions.
2 changes: 1 addition & 1 deletion bot/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package bot

import (
"github.com/bwmarrin/discordgo"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/config"
)

var (
Expand Down
6 changes: 3 additions & 3 deletions commands/enabled.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package commands

import (
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/handlers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/scheduled"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash"
"github.com/ritsec/ops-bot-iii/commands/handlers"
"github.com/ritsec/ops-bot-iii/commands/scheduled"
"github.com/ritsec/ops-bot-iii/commands/slash"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
6 changes: 3 additions & 3 deletions commands/handlers/angryreact.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"strings"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/handlers/audit.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
2 changes: 1 addition & 1 deletion commands/handlers/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"strings"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/handlers/isTheStackRunning.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"strings"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/handlers/message.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strings"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/handlers/uwu.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"strings"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
14 changes: 7 additions & 7 deletions commands/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import (
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"

"github.com/bwmarrin/discordgo"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/bot"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/handlers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/scheduled"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"github.com/ritsec/ops-bot-iii/bot"
"github.com/ritsec/ops-bot-iii/commands/handlers"
"github.com/ritsec/ops-bot-iii/commands/scheduled"
"github.com/ritsec/ops-bot-iii/commands/slash"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions commands/scheduled/goodfood.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/robfig/cron"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
6 changes: 3 additions & 3 deletions commands/scheduled/heartbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
4 changes: 2 additions & 2 deletions commands/scheduled/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/robfig/cron"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
6 changes: 3 additions & 3 deletions commands/scheduled/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/robfig/cron"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
8 changes: 4 additions & 4 deletions commands/slash/feedback.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package slash
import (
"github.com/bwmarrin/discordgo"
"github.com/google/uuid"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
10 changes: 5 additions & 5 deletions commands/slash/kudos.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import (

"github.com/bwmarrin/discordgo"
"github.com/google/uuid"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
8 changes: 4 additions & 4 deletions commands/slash/logging.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ package slash

import (
"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
12 changes: 6 additions & 6 deletions commands/slash/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (

"github.com/bwmarrin/discordgo"
"github.com/google/uuid"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/data"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/mail"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/data"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/mail"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
6 changes: 3 additions & 3 deletions commands/slash/ping.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package slash

import (
"github.com/bwmarrin/discordgo"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/slash/purge.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import (
"fmt"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
12 changes: 6 additions & 6 deletions commands/slash/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/data"
"github.com/ritsec/ops-bot-iii/ent/signin"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/data"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/ent/signin"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/slash/reboot.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"os"

"github.com/bwmarrin/discordgo"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
16 changes: 8 additions & 8 deletions commands/slash/signin.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ import (

"github.com/bwmarrin/discordgo"
"github.com/google/uuid"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/data"
"github.com/ritsec/ops-bot-iii/ent/signin"
"github.com/ritsec/ops-bot-iii/google"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/data"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/ent/signin"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/google"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
8 changes: 4 additions & 4 deletions commands/slash/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"fmt"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)

Expand Down
6 changes: 3 additions & 3 deletions commands/slash/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import (
"time"

"github.com/bwmarrin/discordgo"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"

"github.com/mackerelio/go-osstat/cpu"
Expand Down
12 changes: 6 additions & 6 deletions commands/slash/vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (

"github.com/bwmarrin/discordgo"
"github.com/google/uuid"
"github.com/ritsec/ops-bot-iii/commands/slash/permission"
"github.com/ritsec/ops-bot-iii/config"
"github.com/ritsec/ops-bot-iii/data"
"github.com/ritsec/ops-bot-iii/helpers"
"github.com/ritsec/ops-bot-iii/logging"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/commands/slash/permission"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/config"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/data"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/helpers"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/logging"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace"
"gopkg.in/DataDog/dd-trace-go.v1/ddtrace/tracer"
)
Expand Down
2 changes: 1 addition & 1 deletion config/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package config

import (
"github.com/fsnotify/fsnotify"
"github.com/ritsec/ops-bot-iii/structs"
"github.com/spf13/viper"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/structs"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion data/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package data
import (
"context"

"github.com/ritsec/ops-bot-iii/ent"
"github.com/sirupsen/logrus"
"gitlab.ritsec.cloud/1nv8rZim/ops-bot-iii/ent"

_ "github.com/mattn/go-sqlite3"
)
Expand Down
Loading

0 comments on commit 8c71511

Please sign in to comment.