From 6774c5390e96167d915b8a22780d23f033e687e8 Mon Sep 17 00:00:00 2001 From: Wittawas Nakkasem Date: Tue, 19 Nov 2024 21:45:18 +0700 Subject: [PATCH] refactor(radio): show track title and artist in lyrics file name --- packages/radio/src/discord/command/commands/lyrics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/radio/src/discord/command/commands/lyrics.ts b/packages/radio/src/discord/command/commands/lyrics.ts index 1c04b8cb..51f4a8b0 100644 --- a/packages/radio/src/discord/command/commands/lyrics.ts +++ b/packages/radio/src/discord/command/commands/lyrics.ts @@ -98,7 +98,7 @@ const createButtonHandler: InteractionHandlerFactory = (autom ) ], files: [ - new AttachmentBuilder(Buffer.from(lyricsText), { name: 'lyrics.txt' }) + new AttachmentBuilder(Buffer.from(lyricsText), { name: `${banner} lyrics.txt` }) ], fetchReply: true });