handled errors

This commit is contained in:
semblanceofsense 2025-02-16 21:53:36 -07:00
parent 6cea2789ef
commit 54cd7a4f52

View File

@ -106,6 +106,7 @@ func Run(BotToken string) {
responseData = err.Error()
}
}
}
if responseData != "" {
err = s.InteractionRespond(
i.Interaction,
@ -119,7 +120,7 @@ func Run(BotToken string) {
)
}
}
}})
})
discord.AddHandler(func (
s *discordgo.Session,