From 6c289cdb63565904d2c88615943266fe07f17335 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 18 May 2017 02:59:20 +0000 Subject: [PATCH] Freaking please --- commands/nsfw/rule34.js | 1 + 1 file changed, 1 insertion(+) diff --git a/commands/nsfw/rule34.js b/commands/nsfw/rule34.js index 1983d79b..046eb53b 100644 --- a/commands/nsfw/rule34.js +++ b/commands/nsfw/rule34.js @@ -37,6 +37,7 @@ module.exports = class Rule34Command extends Command { limit: 1 }); const { posts } = await xml(text); + console.log(posts); if (posts.count === 0) throw new Error('No Results.'); return msg.say(`Result for ${query}:`, { files: [`https:${posts.post[0].$.file_url}`] }) .catch(err => msg.say(`${err.name}: ${err.message}`));