From 1145d92556dda9842356f831406253a713fd5845 Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Fri, 11 Oct 2019 20:50:49 +0300 Subject: [PATCH] Update play.js --- commands/play.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/play.js b/commands/play.js index 226a298e..2586f3c7 100644 --- a/commands/play.js +++ b/commands/play.js @@ -54,13 +54,13 @@ module.exports = { }); } catch (err) { console.error(err); - return message.channel.send(':x: Cancelling video selection or no results.'); + return message.channel.send(':x: Cancelling video selection'); } const videoIndex = parseInt(response.first().content); var video = await youtube.getVideoByID(videos[videoIndex - 1].id); } catch (err) { console.error(err); - return message.channel.send(':x: Cancelling video selection or no results'); + return message.channel.send(':x: I could not obtain any search results!'); } } return client.funcs.handleVideo(video, message, voiceChannel, client, false);