From 4409f21d94b45f7a5e7f065195cef041f3f88a05 Mon Sep 17 00:00:00 2001 From: Cynthia Foxwell Date: Thu, 21 Apr 2022 19:59:22 -0600 Subject: [PATCH] music: add fetching message to playlist processing --- src/modules/music.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/modules/music.js b/src/modules/music.js index 9cf9881..f423080 100644 --- a/src/modules/music.js +++ b/src/modules/music.js @@ -415,8 +415,18 @@ command.callback = async function (msg, line) { if (type != null) { if (playlist) { - const playlist = await processPlaylist(argStr, type, shuffle); const statusMessage = msg.channel.createMessage({ + embeds: [ + { + title: + " Processing playlist...", + description: `Fetching tracks...`, + color: 0xcc0088, + }, + ], + }); + const playlist = await processPlaylist(argStr, type, shuffle); + await statusMessage.edit({ embeds: [ { title: