1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 01:20:48 +00:00

Update 3.6

This commit is contained in:
MatteZ02
2020-06-09 21:25:55 +03:00
parent a0662fdf90
commit 635d7953b2
9 changed files with 96 additions and 22 deletions

View File

@ -43,11 +43,9 @@ module.exports = {
if (!voiceChannel.speakable)
return msg.channel.send(client.messages.noPermsSpeak);
if (ytdl.validateURL(url)) {
const resource = {
url: url
}
client.funcs.handleVideo(
resource,
client.funcs.handleVideo({
url: url
},
msg,
voiceChannel,
client,
@ -81,8 +79,7 @@ module.exports = {
"ytdl"
);
}
let message;
message = client.messages.playlistAdded.replace(
const message = client.messages.playlistAdded.replace(
"%TITLE%",
playlist.title
);