music: add fetching message to playlist processing

This commit is contained in:
Cynthia Foxwell 2022-04-21 19:59:22 -06:00
parent cdf94b2fd2
commit 4409f21d94

View file

@ -415,8 +415,18 @@ command.callback = async function (msg, line) {
if (type != null) { if (type != null) {
if (playlist) { if (playlist) {
const playlist = await processPlaylist(argStr, type, shuffle);
const statusMessage = msg.channel.createMessage({ const statusMessage = msg.channel.createMessage({
embeds: [
{
title:
"<a:loading:493087964918972426> Processing playlist...",
description: `Fetching tracks...`,
color: 0xcc0088,
},
],
});
const playlist = await processPlaylist(argStr, type, shuffle);
await statusMessage.edit({
embeds: [ embeds: [
{ {
title: title: