Merge branch 'master' into patch-3

This commit is contained in:
Zerio
2020-08-24 10:03:00 +02:00
committed by GitHub

View File

@@ -14,8 +14,8 @@ exports.run = async (client, message, args) => {
// If there's already a track playing
if(aTrackIsAlreadyPlaying){
// Add the track to the queue
const result = await client.player.addToQueue(message.guild.id, args[0]);
//Add the track to the queue
const result = await client.player.addToQueue(message.guild.id, args.join(" ")).catch(() => {});
if(!result) {
message.member.voice.channel.leave()
return message.channel.send(`This song provider is not supported...`)