Skip to content

Commit

Permalink
refactor(radio): show track title and artist in lyrics file name
Browse files Browse the repository at this point in the history
  • Loading branch information
vittee committed Nov 19, 2024
1 parent efb95b2 commit 6774c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/radio/src/discord/command/commands/lyrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ const createButtonHandler: InteractionHandlerFactory<ButtonInteraction> = (autom
)
],
files: [
new AttachmentBuilder(Buffer.from(lyricsText), { name: 'lyrics.txt' })
new AttachmentBuilder(Buffer.from(lyricsText), { name: `${banner} lyrics.txt` })
],
fetchReply: true
});
Expand Down

0 comments on commit 6774c53

Please sign in to comment.