aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorWilliam Hergès <william@herges.fr>2025-09-04 16:25:59 +0200
committerWilliam Hergès <william@herges.fr>2025-09-04 16:25:59 +0200
commit30ecd60b041398390f11fccdf46444fa28690bd8 (patch)
treec9b0e6a717cdd02e647bccb56de89916c89e93fb /commands
parent12585b20d504a664ce887d781bce1d299350d244 (diff)
build(gokord): upgrade to latest nightly
still use discordgo name before merging anhgelus/gokord with nyttikord/gokord
Diffstat (limited to 'commands')
-rw-r--r--commands/config.go2
-rw-r--r--commands/credits.go2
-rw-r--r--commands/rank.go2
-rw-r--r--commands/reset.go2
-rw-r--r--commands/stats.go2
-rw-r--r--commands/top.go2
6 files changed, 6 insertions, 6 deletions
diff --git a/commands/config.go b/commands/config.go
index 41fb60e..c4644bc 100644
--- a/commands/config.go
+++ b/commands/config.go
@@ -9,7 +9,7 @@ import (
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/component"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
+ discordgo "github.com/nyttikord/gokord"
)
const (
diff --git a/commands/credits.go b/commands/credits.go
index 5c3c4bd..f0a8c46 100644
--- a/commands/credits.go
+++ b/commands/credits.go
@@ -4,7 +4,7 @@ import (
"github.com/anhgelus/gokord"
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
+ discordgo "github.com/nyttikord/gokord"
)
func Credits(_ *discordgo.Session, i *discordgo.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) {
diff --git a/commands/rank.go b/commands/rank.go
index 48a893f..94dabf2 100644
--- a/commands/rank.go
+++ b/commands/rank.go
@@ -7,7 +7,7 @@ import (
"git.anhgelus.world/anhgelus/les-copaings-bot/user"
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
+ discordgo "github.com/nyttikord/gokord"
)
func Rank(s *discordgo.Session, i *discordgo.InteractionCreate, optMap cmd.OptionMap, resp *cmd.ResponseBuilder) {
diff --git a/commands/reset.go b/commands/reset.go
index 128354f..07e3ba3 100644
--- a/commands/reset.go
+++ b/commands/reset.go
@@ -5,7 +5,7 @@ import (
"github.com/anhgelus/gokord"
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
+ discordgo "github.com/nyttikord/gokord"
)
func Reset(_ *discordgo.Session, i *discordgo.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) {
diff --git a/commands/stats.go b/commands/stats.go
index 0114918..f93f6a0 100644
--- a/commands/stats.go
+++ b/commands/stats.go
@@ -17,8 +17,8 @@ import (
"github.com/anhgelus/gokord"
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
"github.com/jackc/pgx/v5/pgtype"
+ discordgo "github.com/nyttikord/gokord"
"gonum.org/v1/plot"
"gonum.org/v1/plot/plotter"
"gonum.org/v1/plot/vg"
diff --git a/commands/top.go b/commands/top.go
index fedea45..ecbf6f4 100644
--- a/commands/top.go
+++ b/commands/top.go
@@ -9,7 +9,7 @@ import (
"git.anhgelus.world/anhgelus/les-copaings-bot/user"
"github.com/anhgelus/gokord/cmd"
"github.com/anhgelus/gokord/logger"
- "github.com/bwmarrin/discordgo"
+ discordgo "github.com/nyttikord/gokord"
)
func Top(_ *discordgo.Session, i *discordgo.InteractionCreate, _ cmd.OptionMap, resp *cmd.ResponseBuilder) {