From c96fdf6081b7b9b374ca138f36ac7ebd7c03e062 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sun, 8 Sep 2024 11:01:54 +0200 Subject: [PATCH] poll: prefix with letters --- src/distbot/plugins/votepoll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2