mirror of
https://git.maid.zone/stuff/soundcloak.git
synced 2026-01-03 09:29:38 +05:00
fix empty genre in track embeds
This commit is contained in:
@@ -416,7 +416,9 @@ func (t Track) FormatDescription() string {
|
||||
}
|
||||
|
||||
desc += strconv.FormatInt(t.Likes, 10) + " ❤️ | " + strconv.FormatInt(t.Played, 10) + " ▶️"
|
||||
desc += "\nGenre: " + t.Genre
|
||||
if t.Genre != "" {
|
||||
desc += "\nGenre: " + t.Genre
|
||||
}
|
||||
desc += "\nCreated: " + t.CreatedAt
|
||||
desc += "\nLast modified: " + t.LastModified
|
||||
if len(t.TagList) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user