From 46349f3363cae9d36234f6f6c9b72cab69e4a802 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 10 May 2024 10:11:09 -0400 Subject: [PATCH] Fix --- 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 1821cead..cef83a0f 100644 --- a/commands/search/google.js +++ b/commands/search/google.js @@ -27,7 +27,7 @@ module.exports = class GoogleCommand extends Command { } async run(msg, { query }) { - const results = await google.search(query, { + const { results } = await google.search(query, { page: 0, safe: !msg.channel.nsfw, parse_ads: false,