From 735dec194938440b3528646f86a6472816f94a86 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Mon, 10 Jun 2019 08:29:29 +0300 Subject: [PATCH] Update index.js --- index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.js b/index.js index b67eaf24..116b6e98 100644 --- a/index.js +++ b/index.js @@ -309,8 +309,7 @@ Please provide a value to select one of the search results ranging from 1-10. } return msg.channel.send(':x: There is nothing playing.'); } - - return undefined; + 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!') }