From 2a308321aee0c4be18c5f81247ecdd959027c7d4 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 10 Jun 2019 21:24:21 +0300 Subject: [PATCH] Update index.js --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 8f6136cc..2977ee6c 100644 --- a/index.js +++ b/index.js @@ -89,7 +89,6 @@ client.on('message', async msg => { if (msg.member.guild.roles.find(x => x.name === 'DJ')) { if (!msg.member.roles.find(x => x.name === 'DJ')) { msg.channel.send(':x: i\'m sorry but you need to have the \'DJ\' role use music commands!') - return undefined; } if (msg.member.roles.find(x => x.name === 'DJ')) { const args = msg.content.split(' ');