Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
fix: update help
Browse files Browse the repository at this point in the history
  • Loading branch information
keshon committed Apr 15, 2024
1 parent 0959678 commit 93c928f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mods/about/discord/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ func (d *Discord) handleHelpCommand(s *discordgo.Session, m *discordgo.MessageCr
historyByPlaycount := fmt.Sprintf("`%vhistory count` — sort by play count \n\n", prefix)

cached := fmt.Sprintf("`%vcached` — show chached tracks\n", prefix)
curl := fmt.Sprintf("`%vcurl [url]` — cache track (youtube only)\n", prefix)
cachedSync := fmt.Sprintf("`%vcached sync` — sync manually added files to cache\n", prefix)
curl := fmt.Sprintf("`%vcurl [url]` — cache track (youtube url only)\n", prefix)
uploaded := fmt.Sprintf("`%vuploaded` — show uploaded videos\n", prefix)
uploadedExtract := fmt.Sprintf("`%vuploaded extract` — cache audio from uploaded videos\n", prefix)
uploadedExtract := fmt.Sprintf("`%vuploaded extract` — cache audio from manually uploaded videos\n", prefix)

help := fmt.Sprintf("`%vhelp`, `%vh` — show help\n", prefix, prefix)
about := fmt.Sprintf("`%vabout`, `%vv` — show version\n", prefix, prefix)
Expand All @@ -64,7 +65,7 @@ func (d *Discord) handleHelpCommand(s *discordgo.Session, m *discordgo.MessageCr
AddField("", "").
AddField("", "**History**\n"+history+historyByDuration+historyByPlaycount).
AddField("", "").
AddField("", "**Caching**\n"+cached+curl+uploaded+uploadedExtract).
AddField("", "**Caching**\n"+cached+cachedSync+curl+uploaded+uploadedExtract).
AddField("", "").
AddField("", "**Information**\n"+help+about).
AddField("", "").
Expand Down

0 comments on commit 93c928f

Please sign in to comment.