From d2e9bfbf3ecb2323beb1f867b28312200ab4d5f2 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 28 Dec 2017 21:04:59 +0000 Subject: [PATCH] Fix --- commands/search/wikihow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/search/wikihow.js b/commands/search/wikihow.js index 214233c1..849e2302 100644 --- a/commands/search/wikihow.js +++ b/commands/search/wikihow.js @@ -30,7 +30,8 @@ module.exports = class WikihowCommand extends Command { prop: 'info', format: 'json', titles: query, - inprop: 'url' + inprop: 'url', + redirects: '' }); const data = body.query.pages[Object.keys(body.query.pages)[0]]; if (data.missing === '') return msg.say('Could not find any results.');