mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +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;
|
||||
}
|
||||
setTimeout(() => {
|
||||
if (!queue.playing) {
|
||||
if (!queue.playing && queue) {
|
||||
queue.textChannel.send(client.messages.tookTooLong);
|
||||
queue.voiceChannel.leave();
|
||||
client.queue.delete(guild.id);
|
||||
|
Loading…
Reference in New Issue
Block a user