mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-16 09:26:00 +00:00
update
This commit is contained in:
@ -8,7 +8,7 @@ module.exports = {
|
||||
const { voiceChannel } = message.member;
|
||||
if (serverQueue && !serverQueue.playing) {
|
||||
if (message.author.id !== '360363051792203779') {
|
||||
if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voiceChannel as Musix to loop the queue!');
|
||||
if (voiceChannel !== serverQueue.voiceChannel) return message.channel.send(':x: I\'m sorry but you need to be in the same voice channel as Musix to loop the queue!');
|
||||
if (client.global.db.guilds[message.guild.id].permissions === true) {
|
||||
if (client.global.db.guilds[message.guild.id].dj) {
|
||||
if (!message.member.roles.has(client.global.db.guilds[message.guild.id].djrole)) return message.channel.send(':x: You need the `DJ` role to resume the music!');
|
||||
|
Reference in New Issue
Block a user