music: fix skip

This commit is contained in:
Cynthia Foxwell 2023-01-21 22:09:36 -07:00
parent f4376e7c34
commit 22b884044f

View file

@ -577,7 +577,7 @@ command.callback = async function (
}
// TODO: skip lock checks
connection.player.stop();
await connection.stopPlaying();
return {reaction: "\u23ed"};
} else {
return "You are not in a voice channel.";
@ -727,7 +727,9 @@ command.callback = async function (
return {
key: item.id,
display: (item.title ?? item.url).substr(0, 100),
description: hasManageMessages ? `Added by: ${user.username}#${user.discriminator}` : "",
description: hasManageMessages
? `Added by: ${user.username}#${user.discriminator}`
: "",
};
}),
30000,