1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 18:03:17 +00:00

Update play.js

This commit is contained in:
MatteZ02 2020-06-04 13:41:37 +03:00
parent a9561e667e
commit 35dba3b137

View File

@ -13,7 +13,7 @@ module.exports = async function (guild, song, client, seek, play) {
return;
}
setTimeout(() => {
if (!queue.playing) {
if (!queue.playing && queue) {
queue.textChannel.send(client.messages.tookTooLong);
queue.voiceChannel.leave();
client.queue.delete(guild.id);