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

Commit

Permalink
fix: code formatting on song command
Browse files Browse the repository at this point in the history
  • Loading branch information
janleigh committed Oct 16, 2023
1 parent 8135e75 commit 55f4908
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands/radio/SongCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ export class SongCommand extends Command {
np = ws.nowPlaying.song;
}

const artists = np.artists.map((artist) => (artist.nameRomaji ? artist.nameRomaji : artist.name)).join(", ");

embed.setAuthor({
name: `Now Playing on ${ty} Radio`,
iconURL: "https://github.com/LISTEN-moe.png"
Expand All @@ -60,9 +62,7 @@ export class SongCommand extends Command {
name: "— **SONG INFO**",
value: `
${transparent} Title: **\`${np.title}\`**
${transparent} Artist: **\`${np.artists
.map((artist) => (artist.nameRomaji ? artist.nameRomaji : artist.name))
.join(", ")}\`**
${transparent} Artist: **\`${artists}\`**
${transparent} Duration: **\`${this.toMMSS(np.duration)}\`**
${transparent} Requested by: **\`${ws.nowPlaying.requester !== null ? ws.nowPlaying.requester : "None"}\`**
`
Expand Down

0 comments on commit 55f4908

Please sign in to comment.