From a1b9e77fcc22e640802349685166dcd3bc9fac74 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 23 Mar 2017 01:10:08 +0000 Subject: [PATCH] Google Fixed? --- commands/search/google.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/google.js b/commands/search/google.js index 2e8268d0..d34b1a54 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -24,7 +24,7 @@ module.exports = class DefineCommand extends commando.Command { console.log("[Command] " + message.content); let thingToSearch = encodeURI(message.content.split(" ").slice(1).join(" ")); message.channel.send('Searching...'); - const SEARCH_URL = `https://www.google.com/search?q=${encodeURI(thingToSearch)}`; + const SEARCH_URL = `https://www.google.com/search?q=${thingToSearch}`; request .get(SEARCH_URL) .then(function (response) {