mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
fixed
This commit is contained in:
parent
ba319787a5
commit
275b671c36
@ -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);
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user