diff --git a/commands/events/covid-19.js b/commands/events/covid-19.js index d932b048..95e1d6c9 100644 --- a/commands/events/covid-19.js +++ b/commands/events/covid-19.js @@ -42,7 +42,7 @@ module.exports = class Covid19Command extends Command { .setTitle(`Stats for ${country === 'all' ? 'The World' : data.country}`) .setURL(country === 'all' ? 'https://www.worldometers.info/coronavirus/' - : `https://www.worldometers.info/coronavirus/country/${encodeURIComponent(slug)}/`) + : `https://www.worldometers.info/coronavirus/country/${encodeURIComponent(slug.replace(/ /g, '-'))}/`) .setThumbnail(country === 'all' ? null : data.countryInfo.flag || null) .setFooter('Last Updated') .setTimestamp(data.updated)