mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update play.js
This commit is contained in:
parent
6aa654c9e7
commit
0bfa09209a
@ -3,6 +3,7 @@ module.exports = async function (guild, song, client, message, seek, play) {
|
||||
const ytdl = require('ytdl-core');
|
||||
const serverQueue = client.queue.get(guild.id);
|
||||
if (!song) {
|
||||
console.log('No song')
|
||||
serverQueue.voiceChannel.leave();
|
||||
client.queue.delete(guild.id);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user