PiZzA
All checks were successful
Docker Deploy / build-and-push (push) Successful in 3m23s

This commit is contained in:
2026-01-27 13:52:57 -07:00
parent 9694a42f3f
commit 221c5cec97
9 changed files with 348 additions and 5 deletions

View File

@@ -43,7 +43,13 @@ func HandleCommand(commandName string, cooldownDuration time.Duration, handler C
response, handlerErr := handler(s, i)
if handlerErr != nil {
RespondWithError(s, i, "Error processing command: "+handlerErr.Error())
s.FollowupMessageCreate(i.Interaction, true, &discordgo.WebhookParams{
Content: "Error processing command: " + handlerErr.Error(),
})
return
}
if response == "" {
return
}