1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-06-16 06:16:00 +00:00
This commit is contained in:
MatteZ02
2019-10-11 11:48:50 +03:00
parent b3a83f3cf0
commit feea924d92
14 changed files with 38 additions and 43 deletions

View File

@ -9,7 +9,7 @@ module.exports = {
if (serverQueue) {
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 (client.global.db.musix_guilds[message.guild.id].permissions === true) {
if (client.global.db.guilds[message.guild.id].permissions === true) {
if (!permissions.has('MANAGE_MESSAGES')) return message.channel.send(':x: You need the `MANAGE_MESSAGES` permission to loop the queue!');
}
}