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
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue