build(gokord): upgrade to 0.10.0
This commit is contained in:
parent
b92911fb6c
commit
48eb4410ad
7 changed files with 23 additions and 31 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue