diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/config.go | 4 | ||||
| -rw-r--r-- | commands/rank.go | 5 | ||||
| -rw-r--r-- | commands/reset.go | 2 | ||||
| -rw-r--r-- | commands/top.go | 9 |
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) { |
