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
1 changed files with 11 additions and 1 deletions

View File

@ -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:
"<a:loading:493087964918972426> Processing playlist...",
description: `Fetching tracks...`,
color: 0xcc0088,
},
],
});
const playlist = await processPlaylist(argStr, type, shuffle);
await statusMessage.edit({
embeds: [
{
title: