diff --git a/commands/search/google.js b/commands/search/google.js index 4bbd6a7f..b5d7786e 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -34,7 +34,7 @@ module.exports = class GoogleCommand extends Command { } catch (err) { try { href = await this.customSearch(query, nsfw); - } catch (err) { + } catch (err2) { href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`; } }