1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +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; let message;
message = client.messages.seekMax.replace( message = client.messages.seekMax.replace(
"%LENGTH%", "%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); client.funcs.end(client, msg, pos, command);
} }

View File

@ -14,7 +14,7 @@ module.exports = async function (
title: Discord.Util.escapeMarkdown(songInfo.videoDetails.title), title: Discord.Util.escapeMarkdown(songInfo.videoDetails.title),
url: resource.url, url: resource.url,
author: msg.author, author: msg.author,
songLength: songInfo.videoDetails.length_seconds, songLength: songInfo.videoDetails.lengthSeconds,
type: type, type: type,
channel: songInfo.videoDetails.author channel: songInfo.videoDetails.author
}; };