From b0eac04971598b462bb5b0d093dc4ec58f4beecc Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Thu, 6 Jun 2019 07:43:43 +0300 Subject: [PATCH] Update index.js --- index.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/index.js b/index.js index 3cf33290..b4827ed8 100644 --- a/index.js +++ b/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')) {