From 969ba3e0b9580cb0dedc1c78bcda726f18e3a76e Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sat, 25 Oct 2025 22:58:16 +0200 Subject: build(gokord): upgrade to latest nightly --- dynamicid/handling.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dynamicid') diff --git a/dynamicid/handling.go b/dynamicid/handling.go index 8369e27..e43d658 100644 --- a/dynamicid/handling.go +++ b/dynamicid/handling.go @@ -1,6 +1,7 @@ package dynamicid import ( + "context" "strings" "github.com/anhgelus/gokord" @@ -21,7 +22,7 @@ func HandleDynamicMessageComponent[DynamicData any]( ), base string, ) { - b.AddHandler(func(s bot.Session, i *event.InteractionCreate) { + b.AddHandler(func(_ context.Context, s bot.Session, i *event.InteractionCreate) { if i.Type != types.InteractionMessageComponent { return } @@ -51,7 +52,7 @@ func HandleDynamicModalComponent[DynamicData any]( ), base string, ) { - b.AddHandler(func(s bot.Session, i *event.InteractionCreate) { + b.AddHandler(func(_ context.Context, s bot.Session, i *event.InteractionCreate) { if i.Type != types.InteractionModalSubmit { return } -- cgit v1.2.3