Correct embed
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m30s

This commit is contained in:
Nexus 2024-07-05 00:52:52 +01:00
parent 5d6123dffc
commit 495d10c78d

View file

@ -165,7 +165,8 @@ class ElectionCog(commands.Cog):
colour_scores[party_name] = councillors
symbol = "+" if net > 0 else ''
description_parts.append(
f"**{party_name}**: {symbol}{net:,} ({councillors:,} total, {last_election:,} in 2019)"
f"**{party_name}**: {symbol}{net:,} ({councillors:,} total, "
f"{last_election:,} predicted by exit poll)"
)
top_party = list(sorted(colour_scores.keys(), key=lambda k: colour_scores[k], reverse=True))[0]