Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Jun 16, 2024
1 parent d09e8cd commit 3fedb71
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 6 deletions.
1 change: 1 addition & 0 deletions commands/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package commands

import (
"github.com/disgoorg/disgo/discord"

"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
)

Expand Down
3 changes: 2 additions & 1 deletion commands/latest.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (

"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/handler"
"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
"github.com/lithammer/fuzzysearch/fuzzy"

"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
)

var latest = discord.SlashCommandCreate{
Expand Down
1 change: 1 addition & 0 deletions commands/lyrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/json"
"github.com/disgoorg/lavalyrics-plugin"

"github.com/lavalink-devs/lavalink-bot/internal/res"
)

Expand Down
1 change: 1 addition & 0 deletions commands/now_playing.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/json"

"github.com/lavalink-devs/lavalink-bot/internal/res"
)

Expand Down
3 changes: 2 additions & 1 deletion commands/play.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ import (
"github.com/disgoorg/lavasearch-plugin"
"github.com/disgoorg/lavasrc-plugin"
"github.com/disgoorg/snowflake/v2"
"github.com/lavalink-devs/lavalink-bot/internal/res"
"go.deanishe.net/fuzzy"

"github.com/lavalink-devs/lavalink-bot/internal/res"
)

var (
Expand Down
1 change: 1 addition & 0 deletions commands/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/handler"

"github.com/lavalink-devs/lavalink-bot/internal/res"
)

Expand Down
1 change: 1 addition & 0 deletions commands/seek.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/handler"
"github.com/disgoorg/disgolink/v3/lavalink"

"github.com/lavalink-devs/lavalink-bot/internal/res"
)

Expand Down
3 changes: 2 additions & 1 deletion handlers/lavalink.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import (
"github.com/disgoorg/disgolink/v3/disgolink"
"github.com/disgoorg/disgolink/v3/lavalink"
"github.com/disgoorg/sponsorblock-plugin"
"github.com/topi314/tint"

"github.com/lavalink-devs/lavalink-bot/commands"
"github.com/lavalink-devs/lavalink-bot/internal/res"
"github.com/topi314/tint"
)

func (h *Handlers) OnVoiceStateUpdate(event *events.GuildVoiceStateUpdate) {
Expand Down
5 changes: 3 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ import (
"github.com/disgoorg/disgolink/v3/disgolink"
"github.com/disgoorg/sponsorblock-plugin"
"github.com/google/go-github/v52/github"
"github.com/mattn/go-colorable"
"github.com/topi314/tint"

"github.com/lavalink-devs/lavalink-bot/commands"
"github.com/lavalink-devs/lavalink-bot/handlers"
"github.com/lavalink-devs/lavalink-bot/internal/maven"
"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
"github.com/lavalink-devs/lavalink-bot/routes"
"github.com/mattn/go-colorable"
"github.com/topi314/tint"
)

func main() {
Expand Down
3 changes: 2 additions & 1 deletion routes/github_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import (
"github.com/disgoorg/disgo/discord"
"github.com/disgoorg/disgo/webhook"
"github.com/google/go-github/v52/github"
"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
"github.com/topi314/tint"

"github.com/lavalink-devs/lavalink-bot/lavalinkbot"
)

var (
Expand Down

0 comments on commit 3fedb71

Please sign in to comment.