From aa9612bd89d2ce90bcab35be1bf368da5d2329e0 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 21 Feb 2018 22:25:59 +0000 Subject: [PATCH] Fix --- commands/search/google.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/search/google.js b/commands/search/google.js index 9f937944..18257e72 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -35,9 +35,9 @@ module.exports = class GoogleCommand extends Command { const data = body.items[0]; return msg.say(stripIndents` **${data.title}** - ${data.snippet} + ${data.snippet.replace(/\n/g, '')} - <${data.formattedUrl}> + ${data.formattedUrl} `); } catch (err) { return msg.say(`http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`);