diff --git a/Dockerfile-test-env b/Dockerfile-test-env index 47c9bf53..fedb394a 100644 --- a/Dockerfile-test-env +++ b/Dockerfile-test-env @@ -1,5 +1,5 @@ FROM python:3.6-buster -RUN apt-get update && apt-get install -y gcc python-pip +RUN apt-get update && apt-get install -y gcc python-pip vim ADD app/requirements.txt /requirements.txt RUN pip install -U pip pylint && pip install -r requirements.txt diff --git a/app/corona.py b/app/corona.py index bdfaa47c..1419cc13 100644 --- a/app/corona.py +++ b/app/corona.py @@ -37,10 +37,11 @@ def sum_numbers(location): embed = discord.Embed(description="Most recent Corona stats for %s\nUpdated once a day\n(Last update was %s)" % (location, last_updated), color=0x428bca, type="rich") embed.set_author(name="CSSE at Johns Hopkins University", icon_url='https://www.pngitem.com/pimgs/m/27-270528_johns-hopkins-was-a-founding-member-of-the.png') - embed.add_field(name='Confirmed Cases', value=confirmed) - embed.add_field(name='Recovered Cases', value=recovered) - embed.add_field(name='Deaths', value=deaths) + embed.add_field(name=':rotating_light: Confirmed Cases :rotating_light:', value=confirmed, inline=False) + embed.add_field(name=':hospital: Recovered Cases :hospital:', value=recovered, inline=False) + embed.add_field(name=':skull_crossbones: Deaths :skull_crossbones:', value=deaths, inline=False) embed.add_field(name='Source', value='https://github.com/CSSEGISandData/COVID-19') + return embed def parse_message(message):