From 83248970b54f0d4b4b2f492ef2073bc0e4b7a0d2 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 13 Mar 2023 18:44:21 +0200 Subject: [PATCH] fix this https://stupidpol.site/post/154579/betting-badge-opportunity-are-you-a/3781652#context --- files/classes/comment.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index b9dafb0ca..7b1167bed 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -48,7 +48,9 @@ def add_options(self, body, v): if o.exclusive > 1: option_body += f'''
= POLL_BET_COINS) or self.total_bet_voted(v): option_body += " disabled " + + if not (v and v.coins + v.marseybux >= POLL_BET_COINS) or self.total_bet_voted(v): + option_body += " disabled " option_body += f'''>