1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-09-20 04:31:56 +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; return;
} }
setTimeout(() => { setTimeout(() => {
if (!queue.playing) { if (!queue.playing && queue) {
queue.textChannel.send(client.messages.tookTooLong); queue.textChannel.send(client.messages.tookTooLong);
queue.voiceChannel.leave(); queue.voiceChannel.leave();
client.queue.delete(guild.id); client.queue.delete(guild.id);