build(gokord): upgrade to 0.10.0

This commit is contained in:
Anhgelus Morhtuuzh 2025-06-04 15:11:16 +02:00
parent b92911fb6c
commit 48eb4410ad
Signed by: anhgelus
GPG key ID: CAD341EFA92DDDE5
7 changed files with 23 additions and 31 deletions

View file

@ -10,9 +10,8 @@ import (
"sync"
)
func Top(s *discordgo.Session, i *discordgo.InteractionCreate) {
resp := utils.NewResponseBuilder(s, i).IsDeferred()
err := resp.Send()
func Top(s *discordgo.Session, i *discordgo.InteractionCreate, optMap utils.OptionMap, resp *utils.ResponseBuilder) {
err := resp.IsDeferred().Send()
if err != nil {
utils.SendAlert("commands/top.go - Sending deferred", err.Error())
return