📝 Corrections play command (by Swarwerth)

Awareness on the whole argument when we add a music to the queue.
This commit is contained in:
Zerio
2020-08-24 09:59:28 +02:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ exports.run = async (client, message, args) => {
if(aTrackIsAlreadyPlaying){
// Add the track to the queue
const result = await client.player.addToQueue(message.guild.id, args[0]);
const result = await client.player.addToQueue(message.guild.id, args.join(" ")).catch(() => {});
if(!result) return message.channel.send(`This song provider is not supported...`);
if(result.type === 'playlist'){