mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 06:43:17 +00:00
Update playlist.js
This commit is contained in:
parent
44e05abfe6
commit
3bc49ad955
@ -13,6 +13,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
if (client.global.db.guilds[message.guild.id].premium) {
|
if (client.global.db.guilds[message.guild.id].premium) {
|
||||||
if (args[1] === 'play') {
|
if (args[1] === 'play') {
|
||||||
|
if (!voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in a voice channel to play music!');
|
||||||
if (client.global.db.playlists[message.guild.id].saved) {
|
if (client.global.db.playlists[message.guild.id].saved) {
|
||||||
if (!serverQueue) {
|
if (!serverQueue) {
|
||||||
const construct = {
|
const construct = {
|
||||||
|
Loading…
Reference in New Issue
Block a user