1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update index.js

This commit is contained in:
MatteZ02 2019-06-06 07:43:43 +03:00
parent bfb105808d
commit b0eac04971

View File

@ -88,9 +88,6 @@ var textcoms = ['!test','!restart','!help','!info','!invite']
if (msg.content === textcoms) return;
if (msg.member.guild.roles.find(x => x.name === 'DJ')) {
if (!msg.member.roles.find(x => x.name === 'DJ')) {
if (msg.content === `${PREFIX}invite`) {
return undefined;
}
msg.channel.send(':x: i\'m sorry you need to have the \'DJ\' role!')
}
if (msg.member.roles.find(x => x.name === 'DJ')) {