mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
Update play.js
This commit is contained in:
parent
a9561e667e
commit
35dba3b137
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user