mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user