mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
fixed
This commit is contained in:
parent
ba319787a5
commit
275b671c36
@ -26,9 +26,9 @@ module.exports = {
|
||||
let message;
|
||||
message = client.messages.seekMax.replace(
|
||||
"%LENGTH%",
|
||||
data.videoDetails.length_seconds
|
||||
data.videoDetails.lengthSeconds
|
||||
);
|
||||
if (pos > data.videoDetais.length_seconds) return msg.channel.send(message);
|
||||
if (pos > data.videoDetais.lengthSeconds) return msg.channel.send(message);
|
||||
}
|
||||
client.funcs.end(client, msg, pos, command);
|
||||
}
|
||||
|
@ -14,7 +14,7 @@ module.exports = async function (
|
||||
title: Discord.Util.escapeMarkdown(songInfo.videoDetails.title),
|
||||
url: resource.url,
|
||||
author: msg.author,
|
||||
songLength: songInfo.videoDetails.length_seconds,
|
||||
songLength: songInfo.videoDetails.lengthSeconds,
|
||||
type: type,
|
||||
channel: songInfo.videoDetails.author
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user