use nowplaying fn

This commit is contained in:
Mylloon 2023-02-10 18:41:55 +01:00
parent 3a871a3350
commit 94e2333df2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -73,9 +73,10 @@ export default {
const queue = client.player.queues.get(interaction.guildId ?? ""); const queue = client.player.queues.get(interaction.guildId ?? "");
if (queue) { if (queue) {
const track = queue.current; const track = queue.nowPlaying();
if (track) { if (track) {
// TODO: Pretty embed // TODO: Pretty embed
// Use: createProgressBar
return await interaction.reply( return await interaction.reply(
`${loc.get("c_play7")} \`${track.title}\` - *${track.author}*` `${loc.get("c_play7")} \`${track.title}\` - *${track.author}*`
); );