1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00
This commit is contained in:
MatteZ02 2020-06-04 13:24:17 +03:00
parent ba319787a5
commit 275b671c36
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}

View File

@ -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
};