From c04f4d9fff2e753f0477a07a9f8f43fbcba8969e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 21 Aug 2025 14:59:23 +0200 Subject: build(go): rename module to use git.anhgelus.world instead of github --- commands/config.go | 4 ++-- commands/rank.go | 5 +++-- commands/reset.go | 2 +- commands/top.go | 9 +++++---- 4 files changed, 11 insertions(+), 9 deletions(-) (limited to 'commands') diff --git a/commands/config.go b/commands/config.go index b62d413..41fb60e 100644 --- a/commands/config.go +++ b/commands/config.go @@ -4,11 +4,11 @@ import ( "fmt" "strings" + "git.anhgelus.world/anhgelus/les-copaings-bot/config" + "git.anhgelus.world/anhgelus/les-copaings-bot/exp" "github.com/anhgelus/gokord/cmd" "github.com/anhgelus/gokord/component" "github.com/anhgelus/gokord/logger" - "github.com/anhgelus/les-copaings-bot/config" - "github.com/anhgelus/les-copaings-bot/exp" "github.com/bwmarrin/discordgo" ) diff --git a/commands/rank.go b/commands/rank.go index 9673089..48a893f 100644 --- a/commands/rank.go +++ b/commands/rank.go @@ -2,10 +2,11 @@ package commands import ( "fmt" + + "git.anhgelus.world/anhgelus/les-copaings-bot/exp" + "git.anhgelus.world/anhgelus/les-copaings-bot/user" "github.com/anhgelus/gokord/cmd" "github.com/anhgelus/gokord/logger" - "github.com/anhgelus/les-copaings-bot/exp" - "github.com/anhgelus/les-copaings-bot/user" "github.com/bwmarrin/discordgo" ) diff --git a/commands/reset.go b/commands/reset.go index 653a1d9..128354f 100644 --- a/commands/reset.go +++ b/commands/reset.go @@ -1,10 +1,10 @@ package commands import ( + "git.anhgelus.world/anhgelus/les-copaings-bot/user" "github.com/anhgelus/gokord" "github.com/anhgelus/gokord/cmd" "github.com/anhgelus/gokord/logger" - "github.com/anhgelus/les-copaings-bot/user" "github.com/bwmarrin/discordgo" ) diff --git a/commands/top.go b/commands/top.go index 09fa91f..fedea45 100644 --- a/commands/top.go +++ b/commands/top.go @@ -2,13 +2,14 @@ package commands import ( "fmt" + "sync" + + "git.anhgelus.world/anhgelus/les-copaings-bot/config" + "git.anhgelus.world/anhgelus/les-copaings-bot/exp" + "git.anhgelus.world/anhgelus/les-copaings-bot/user" "github.com/anhgelus/gokord/cmd" "github.com/anhgelus/gokord/logger" - "github.com/anhgelus/les-copaings-bot/config" - "github.com/anhgelus/les-copaings-bot/exp" - "github.com/anhgelus/les-copaings-bot/user" "github.com/bwmarrin/discordgo" - "sync" ) func Top(_ *discordgo.Session, i *discordgo.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) { -- cgit v1.2.3