diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-06-04 15:11:16 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-06-04 15:11:16 +0200 |
| commit | 48eb4410ad14d74b3f1925d263b8fe32c472a648 (patch) | |
| tree | 4b1092e502e06db17fbfd77e2c5c01b0b55123b5 /commands/top.go | |
| parent | b92911fb6ccd11910f394eef02090071d8d45114 (diff) | |
build(gokord): upgrade to 0.10.0
Diffstat (limited to 'commands/top.go')
| -rw-r--r-- | commands/top.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/commands/top.go b/commands/top.go index d0e898d..daa1ccb 100644 --- a/commands/top.go +++ b/commands/top.go @@ -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 |
