use nowplaying fn
This commit is contained in:
parent
3a871a3350
commit
94e2333df2
1 changed files with 2 additions and 1 deletions
|
@ -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}*`
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue