From c065136b8ae137b4373c51472cc12ed32f2ee0ea Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 10 Jun 2019 08:32:29 +0300 Subject: [PATCH] Update index.js --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 116b6e98..17b5e388 100644 --- a/index.js +++ b/index.js @@ -37,7 +37,7 @@ client.on('message', async msg => { } if (msg.content === '-restart') { if (msg.member.username !== 'Matte') { - msg.channel.send(':x: I\'n´m sorry, You can\'t do that!') + msg.channel.send(':x: I\'m sorry, but you can\'t do that!') } if (msg.author.username === 'Matte') { console.log('restarting...') @@ -309,9 +309,9 @@ Please provide a value to select one of the search results ranging from 1-10. } return msg.channel.send(':x: There is nothing playing.'); } - msg.channel.send(':x: Unknown command! Type -help for the list of commands!') } msg.channel.send(':x: Unknown command! Type -help for the list of commands!') + return undefined; } });