diff --git a/commands/search/google.js b/commands/search/google.js index 71226c27..46dbbe56 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -44,10 +44,10 @@ module.exports = class GoogleCommand extends Command { let href; const nsfw = msg.channel.nsfw || false; try { - href = await this.searchGoogle(query, nsfw); + href = await this.customSearch(query, nsfw); } catch (err) { try { - href = await this.customSearch(query, nsfw); + href = await this.searchGoogle(query, nsfw); } catch (err2) { href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`; } diff --git a/package.json b/package.json index cc8541f9..bc3010ad 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "105.2.2", + "version": "105.2.3", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {