From 30ecd60b041398390f11fccdf46444fa28690bd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?William=20Herg=C3=A8s?= Date: Thu, 4 Sep 2025 16:25:59 +0200 Subject: build(gokord): upgrade to latest nightly still use discordgo name before merging anhgelus/gokord with nyttikord/gokord --- commands/config.go | 2 +- commands/credits.go | 2 +- commands/rank.go | 2 +- commands/reset.go | 2 +- commands/stats.go | 2 +- commands/top.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'commands') 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) { -- cgit v1.2.3