mirror of
https://github.com/musix-org/musix-oss
synced 2025-06-15 17:45:59 +00:00
Update index.js
This commit is contained in:
3
index.js
3
index.js
@ -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')) {
|
||||
|
Reference in New Issue
Block a user