mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Fix
This commit is contained in:
@@ -27,7 +27,7 @@ module.exports = class GoogleCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run(msg, { query }) {
|
async run(msg, { query }) {
|
||||||
const results = await google.search(query, {
|
const { results } = await google.search(query, {
|
||||||
page: 0,
|
page: 0,
|
||||||
safe: !msg.channel.nsfw,
|
safe: !msg.channel.nsfw,
|
||||||
parse_ads: false,
|
parse_ads: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user