Command rework

This commit is contained in:
FernandoJVideira committed 2026-08-18 21:20:31 +01:00
1 parent 5024af2789
commit 01dbb98450
11 files changed
+502 -117

No files matched your search

+4 -1
View File
@@ -97,7 +97,10 @@ func HandleComponent(s *discordgo.Session, i *discordgo.InteractionCreate) {
content = "Done."
}
if err != nil {
content = "Error: " + err.Error()
// err can carry a raw Lavalink/network failure here (Player.Update),
// not just our own "music manager not initialized" - don't echo
// that detail into the ephemeral reply.
content = "That didn't work. Please try again."
}
// send ephemeral confirmation