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

This commit is contained in:
2026-01-27 14:00:57 -07:00
parent 221c5cec97
commit c9f5093390

View File

@@ -134,7 +134,16 @@ func GiveCommand(s *discordgo.Session, i *discordgo.InteractionCreate) (string,
amount = -amount amount = -amount
} }
return fmt.Sprintf("✅ Successfully %s %s %d Himbucks.", action, recipient.Username, amount), nil // Delete public "thinking" message
s.InteractionResponseDelete(i.Interaction)
// Send ephemeral success message
s.FollowupMessageCreate(i.Interaction, true, &discordgo.WebhookParams{
Content: fmt.Sprintf("Successfully %s %s %d Himbucks.", action, recipient.Username, amount),
Flags: discordgo.MessageFlagsEphemeral,
})
return "", nil
} }
func isAdmin(userID string) bool { func isAdmin(userID string) bool {