From b2850f83fdf2ec2a2cb7f484aac62d46dfd60ccb Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 16 Jan 2020 19:00:55 -0500 Subject: [PATCH] Fix Lint --- commands/search/http-duck.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/http-duck.js b/commands/search/http-duck.js index 9354ad02..a39acbf8 100644 --- a/commands/search/http-duck.js +++ b/commands/search/http-duck.js @@ -29,7 +29,7 @@ module.exports = class HttpDuckCommand extends Command { async run(msg, { code }) { try { - const { body, headers } = await request.get(`https://random-d.uk/api/http/${code}.jpg`); + const { body } = await request.get(`https://random-d.uk/api/http/${code}.jpg`); return msg.say({ files: [{ attachment: body, name: `${code}.jpg` }] }); } catch (err) { if (err.status === 404) return msg.say('Could not find any results.');