This commit is contained in:
Daniel Odendahl Jr
2017-12-28 21:04:59 +00:00
parent 6cc626551b
commit d2e9bfbf3e
+2 -1
View File
@@ -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.');