From: Thorsten Date: Sun, 8 Sep 2024 09:01:54 +0000 (+0200) Subject: poll: prefix with letters X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=c96fdf6081b7b9b374ca138f36ac7ebd7c03e062;p=urlbot-v3.git poll: prefix with letters --- diff --git a/src/distbot/plugins/votepoll.py b/src/distbot/plugins/votepoll.py index e6941ec..c4003f0 100644 --- a/src/distbot/plugins/votepoll.py +++ b/src/distbot/plugins/votepoll.py @@ -80,8 +80,8 @@ class Poll: winner = f"**Winner:** {self.option_b}" status_message = (f"**Poll status:**\n" - f" * {self.option_a}: {self.votes_a()}\n" - f" * {self.option_b}: {self.votes_b()}" + f" * A - {self.option_a}: {self.votes_a()}\n" + f" * B - {self.option_b}: {self.votes_b()}" ) + (f"\n{winner}" if self.due() else f"\nEnding at: {self.end_date}") return status_message