Updated music nowplaying

This commit is contained in:
2024-02-17 18:23:58 +01:00
parent b6e27b3741
commit 7c24149781

View File

@@ -29,10 +29,23 @@ export default async function nowplaying(interaction: ChatInputCommandInteractio
return return
} }
const progressBar = queue.node.createProgressBar({
leftChar: "▬",
rightChar: "▬",
separator: "|",
indicator: "🔘",
timecodes: true,
length: 15
})
await interaction.editReply({ await interaction.editReply({
embeds: [{ embeds: [{
title: "Now Playing", title: "Now Playing",
description: `[${current.title}](${current.url})`, description: `
[${current.title}](${current.url})
${progressBar}
`,
color: embedColor, color: embedColor,
thumbnail: { thumbnail: {
url: current.thumbnail url: current.thumbnail