From a33fcd9c40bcfd156bf5f8400a70036386dc85fb Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Thu, 6 Jun 2019 07:38:59 +0300 Subject: [PATCH] Update index.js --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 94a40e7d..0d97cf07 100644 --- a/index.js +++ b/index.js @@ -89,7 +89,7 @@ client.on('message', async msg => { 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 + return undefined; } msg.channel.send(':x: i\'m sorry you need to have the \'DJ\' role!') }