]> git.aero2k.de Git - urlbot-v3.git/commitdiff
poll: prefix with letters
authorThorsten <mail@aero2k.de>
Sun, 8 Sep 2024 09:01:54 +0000 (11:01 +0200)
committerThorsten <mail@aero2k.de>
Sun, 8 Sep 2024 09:01:54 +0000 (11:01 +0200)
src/distbot/plugins/votepoll.py

index e6941ec5211bb99190443ffcea8ade19f5640dc0..c4003f00557bd78b9e98b2f6ebfa56b9bc673377 100644 (file)
@@ -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