From f5691328ba79e22a3660644ad22e79933f7f6e49 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 23 Mar 2017 00:32:03 +0000 Subject: [PATCH] Fix Google? --- 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 d01965ca..7d0b6fe9 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -31,7 +31,7 @@ module.exports = class DefineCommand extends commando.Command { let href = $('.r').first().find('a').first().attr('href'); if (!href) return Promise.reject(new Error('NO RESULTS')); href = querystring.parse(href.replace('/url?', '')); - message.edit(href.q); + message.channel.send(href.q); }).catch(function (err) { message.channel.send(':x: Error! No Results Found!'); });