aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 14:59:23 +0200
committerAnhgelus Morhtuuzh <william@herges.fr>2025-08-21 14:59:23 +0200
commitc04f4d9fff2e753f0477a07a9f8f43fbcba8969e (patch)
treed1c8619b76572b31c475a78e27d61d0e6133f752 /commands
parent166aadabfb37a1a565bb8d46241682c709b1c4db (diff)
build(go): rename module to use git.anhgelus.world instead of github
Diffstat (limited to 'commands')
-rw-r--r--commands/config.go4
-rw-r--r--commands/rank.go5
-rw-r--r--commands/reset.go2
-rw-r--r--commands/top.go9
4 files changed, 11 insertions, 9 deletions
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) {