mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-22 01:57:54 +02:00
Don't embed google urls
This commit is contained in:
@@ -46,7 +46,7 @@ module.exports = class GoogleCommand extends Command {
|
|||||||
href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`;
|
href = `http://lmgtfy.com/?iie=1&q=${encodeURIComponent(query)}`;
|
||||||
}
|
}
|
||||||
if (!href) return msg.say('Could not find any results.');
|
if (!href) return msg.say('Could not find any results.');
|
||||||
return msg.say(href);
|
return msg.say(`<${href}>`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async search(query, nsfw) {
|
async search(query, nsfw) {
|
||||||
|
|||||||
Reference in New Issue
Block a user