mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update loop.js
This commit is contained in:
parent
b5590e1c7f
commit
2cae32c926
@ -8,7 +8,7 @@ module.exports = {
|
||||
const permissions = message.channel.permissionsFor(message.author);
|
||||
const { voiceChannel } = message.member;
|
||||
if (serverQueue) {
|
||||
if (message.author.id !== client.global.devId) {
|
||||
if (message.author.id !== client.config.devId) {
|
||||
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) {
|
||||
|
Loading…
Reference in New Issue
Block a user