forked from MarseyWorld/MarseyWorld
show lifetime_donated in the badge description
parent
dfe0705e5d
commit
0d4660c17f
|
@ -78,6 +78,8 @@ class Badge(Base):
|
||||||
text = self.badge.description + " until"
|
text = self.badge.description + " until"
|
||||||
elif self.badge_id in {28, 170, 179}:
|
elif self.badge_id in {28, 170, 179}:
|
||||||
text = self.badge.description + " permanently"
|
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:
|
elif self.description:
|
||||||
text = self.description
|
text = self.description
|
||||||
elif self.badge.description:
|
elif self.badge.description:
|
||||||
|
|
Loading…
Reference in New Issue