Correct embed
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m30s
All checks were successful
Build and Publish / build_and_publish (push) Successful in 1m30s
This commit is contained in:
parent
5d6123dffc
commit
495d10c78d
1 changed files with 2 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue