Commit 0c0d275d authored by betseg's avatar betseg 🏳🌈

Update discordapi.py

parent 5a8bdafb
......@@ -55,7 +55,7 @@ def create_embed(country, old_data, all_data):
recovery_diff = recoveries - old_recoveries
active_diff = active_cases - old_active
case_str += f"({per(active_diff, old_active):+}%)) ({case_diff} new cases ({per(case_diff, old_cases):+}%))" if case_diff else ""
case_str += f" ({per(active_diff, old_active):+}%)) ({case_diff} new cases ({per(case_diff, old_cases):+}%))" if case_diff else ""
death_str += f" ({death_diff} new deaths ({per(death_diff, old_deaths):+}%))" if death_diff else ""
recovery_str += f" ({recovery_diff} new recoveries ({per(recovery_diff, old_recoveries):+}%))" if recovery_diff else ""
else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment