mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update remove.js
This commit is contained in:
parent
4642ed1bc8
commit
754614e2fb
@ -22,10 +22,10 @@ module.exports = {
|
|||||||
if (pos > queue.songs.length) return msg.channel.send(message1);
|
if (pos > queue.songs.length) return msg.channel.send(message1);
|
||||||
message2 = client.messages.removed.replace(
|
message2 = client.messages.removed.replace(
|
||||||
"%SONG%",
|
"%SONG%",
|
||||||
queue.songs[pos].title
|
queue.songs[pos - 1].title
|
||||||
);
|
);
|
||||||
msg.channel.send(message2);
|
msg.channel.send(message2);
|
||||||
return queue.songs.splice(pos, 1);
|
return queue.songs.splice(pos, 1);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user