Merge branch 'master' into patch-3
This commit is contained in:
@@ -14,8 +14,8 @@ exports.run = async (client, message, args) => {
|
|||||||
// If there's already a track playing
|
// If there's already a track playing
|
||||||
if(aTrackIsAlreadyPlaying){
|
if(aTrackIsAlreadyPlaying){
|
||||||
|
|
||||||
// Add the track to the queue
|
//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) {
|
if(!result) {
|
||||||
message.member.voice.channel.leave()
|
message.member.voice.channel.leave()
|
||||||
return message.channel.send(`This song provider is not supported...`)
|
return message.channel.send(`This song provider is not supported...`)
|
||||||
|
|||||||
Reference in New Issue
Block a user