From 19e15313e128c14e72fd5a48f10d13108f5b33f3 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 20 Aug 2018 01:32:27 +0000 Subject: [PATCH] Fix Humble Bundle URLs --- commands/events/humble-bundle.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/events/humble-bundle.js b/commands/events/humble-bundle.js index d22bc297..4c142965 100644 --- a/commands/events/humble-bundle.js +++ b/commands/events/humble-bundle.js @@ -21,13 +21,13 @@ module.exports = class HumbleBundleCommand extends Command { if (body.length > 1) { return msg.say(stripIndents` There are **${body.length}** bundles on right now! - ${body.map(bundle => `**${bundle.bundle_name}**: <${bundle.bundle_url}>`).join('\n')} + ${body.map(bundle => `**${bundle.bundle_name}**: <${bundle.url}>`).join('\n')} `); } const data = body[0]; return msg.say(stripIndents` The current bundle is **${data.bundle_name}**! - ${data.bundle_url} + ${data.url} `); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);