music: fix skip
This commit is contained in:
parent
f4376e7c34
commit
22b884044f
1 changed files with 4 additions and 2 deletions
|
@ -577,7 +577,7 @@ command.callback = async function (
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: skip lock checks
|
// TODO: skip lock checks
|
||||||
connection.player.stop();
|
await connection.stopPlaying();
|
||||||
return {reaction: "\u23ed"};
|
return {reaction: "\u23ed"};
|
||||||
} else {
|
} else {
|
||||||
return "You are not in a voice channel.";
|
return "You are not in a voice channel.";
|
||||||
|
@ -727,7 +727,9 @@ command.callback = async function (
|
||||||
return {
|
return {
|
||||||
key: item.id,
|
key: item.id,
|
||||||
display: (item.title ?? item.url).substr(0, 100),
|
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,
|
30000,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue