1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 09:26:00 +00:00
This commit is contained in:
MatteZ02
2019-10-18 21:44:15 +03:00
parent 83945c779a
commit a6d4dcbcd5
10 changed files with 92 additions and 1153 deletions

View File

@ -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!');