diff --git a/command/himbucks.go b/command/himbucks.go index e3ed67f..d0b6aed 100644 --- a/command/himbucks.go +++ b/command/himbucks.go @@ -134,7 +134,16 @@ func GiveCommand(s *discordgo.Session, i *discordgo.InteractionCreate) (string, 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 {