mirror of https://github.com/stijndcl/didier
Comment vaccine changes as API doesn't update on correct times to make this possible
parent
a8bffa5975
commit
b30360e901
|
@ -101,12 +101,15 @@ class Corona(commands.Cog):
|
||||||
|
|
||||||
# Vaccines
|
# Vaccines
|
||||||
if vaccines is not None:
|
if vaccines is not None:
|
||||||
|
# embed.add_field(name="Aantal toegediende vaccins:",
|
||||||
|
# value=self.createEmbedString(
|
||||||
|
# vaccines["today"]["vaccines"],
|
||||||
|
# vaccines["today"]["todayVaccines"],
|
||||||
|
# self.trendIndicator(vaccines, "todayVaccines")
|
||||||
|
# ))
|
||||||
embed.add_field(name="Aantal toegediende vaccins:",
|
embed.add_field(name="Aantal toegediende vaccins:",
|
||||||
value=self.createEmbedString(
|
value="{:,}".format(vaccines["today"]["vaccines"]),
|
||||||
vaccines["today"]["vaccines"],
|
inline=False)
|
||||||
vaccines["today"]["todayVaccines"],
|
|
||||||
self.trendIndicator(vaccines, "todayVaccines")
|
|
||||||
))
|
|
||||||
|
|
||||||
# Timestamp of last update
|
# Timestamp of last update
|
||||||
timeFormatted = timeFormatters.epochToDate(int(dic["today"]["updated"]) / 1000)
|
timeFormatted = timeFormatters.epochToDate(int(dic["today"]["updated"]) / 1000)
|
||||||
|
|
Loading…
Reference in New Issue