diff --git a/src/modules/misc.js b/src/modules/misc.js index bb0b338..f1aaa83 100644 --- a/src/modules/misc.js +++ b/src/modules/misc.js @@ -570,7 +570,7 @@ search.callback = async function (msg, line, args, {results = 2}) { .json() .then((arr) => arr.splice(0, Number(results))); - let out = `__**Results for \`${safeString(line)}\`**__\n`; + let out = `__**Results for \`${safeString(query)}\`**__\n`; for (const result of searchResults) { if (result.special_response) { out += "> " + parseHtmlEntities(result.special_response.response.split("\n").join("\n> "));