From 249d55c1800e7af8167b4a5d0f7ad3306fb9c800 Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 3 May 2024 20:39:08 +0100 Subject: [PATCH] Add mroe detail --- src/cogs/election.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/cogs/election.py b/src/cogs/election.py index c09c83d..b490787 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -125,8 +125,9 @@ class ElectionCog(commands.Cog): for party_name, values in results.items(): councillors, net, colour = values colour_scores[party_name] = councillors + symbol = "+" if net > 0 else '' description_parts.append( - f"**{party_name}**: {net:,}" + f"**{party_name}**: {symbol}{net:,} ({councillors:,} total)" ) top_party = list(sorted(colour_scores.keys(), key=lambda k: colour_scores[k], reverse=True))[0]