From 11412be037fc43f44d065f9fdbb427917384b0f4 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 22 Jan 2020 11:36:26 -0500 Subject: [PATCH] Fix HTML Tags in Doomsday Clock --- commands/events/doomsday-clock.js | 6 ++++-- package.json | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/commands/events/doomsday-clock.js b/commands/events/doomsday-clock.js index b4b3f00a..2a4fc2a8 100644 --- a/commands/events/doomsday-clock.js +++ b/commands/events/doomsday-clock.js @@ -25,13 +25,15 @@ module.exports = class DoomsdayClockCommand extends Command { const { text } = await request.get('https://thebulletin.org/doomsday-clock/past-announcements/'); const time = text.match(/

(.+)<\/h3>/)[1]; const year = text.match(/

(.+)<\/h5>/)[1]; - const description = text.match(/