diff --git a/app/download.go b/app/download.go index 2af364a..e0468e9 100644 --- a/app/download.go +++ b/app/download.go @@ -49,7 +49,7 @@ func startAsyncDownload(s *discordgo.Session, i *discordgo.InteractionCreate, ur // Handle progress and results asynchronously go func() { _, err := s.InteractionResponseEdit(i.Interaction, &discordgo.WebhookEdit{ - Content: ptr("⏬ downloading: starting..."), + Content: ptr(" downloading: starting..."), }) if err != nil { log.Printf("Error updating interaction: %v", err) @@ -65,7 +65,7 @@ func startAsyncDownload(s *discordgo.Session, i *discordgo.InteractionCreate, ur var content string if prog.Phase == "post-processing" { - content = "⚙️ post-processing" + content = " post-processing" } else { var progressStr string if prog.DownloadedBytes > 0 { @@ -73,7 +73,7 @@ func startAsyncDownload(s *discordgo.Session, i *discordgo.InteractionCreate, ur } else { progressStr = "starting..." } - content = fmt.Sprintf("Downloading Video: %s", progressStr) + content = fmt.Sprintf(" Downloading Video: %s", progressStr) } _, err := s.InteractionResponseEdit(i.Interaction, &discordgo.WebhookEdit{ @@ -85,6 +85,9 @@ func startAsyncDownload(s *discordgo.Session, i *discordgo.InteractionCreate, ur case result := <-resultChan: if result.Success { + _, err = s.InteractionResponseEdit(i.Interaction, &discordgo.WebhookEdit{ + Content: ptr("✅ Success"), + }) _, err = s.FollowupMessageCreate(i.Interaction, false, &discordgo.WebhookParams{ Content: "📥 Video downloaded: " + result.URL, })