From 0d4660c17f00d34f189bafe2cbb0abe7345015eb Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 13 May 2023 00:16:31 +0300 Subject: [PATCH] show lifetime_donated in the badge description --- files/classes/badges.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/files/classes/badges.py b/files/classes/badges.py index 103cd9561..7760847a3 100644 --- a/files/classes/badges.py +++ b/files/classes/badges.py @@ -78,6 +78,8 @@ class Badge(Base): text = self.badge.description + " until" elif self.badge_id in {28, 170, 179}: text = self.badge.description + " permanently" + elif self.badge_id in {257, 258, 259, 260, 261}: + text = self.badge.description + f" - ${self.lifetime_donated}" elif self.description: text = self.description elif self.badge.description: