dont allow autojanny, lpb, zozbot to get coins so they dont dominate the DC leaderboard

master
Aevann 2023-11-03 21:43:27 +02:00
parent a4bfaf5a28
commit 3d916cef06
1 changed files with 3 additions and 0 deletions

View File

@ -191,6 +191,9 @@ class User(Base):
return f"<{self.__class__.__name__}(id={self.id}, username={self.username})>" return f"<{self.__class__.__name__}(id={self.id}, username={self.username})>"
def pay_account(self, currency, amount): def pay_account(self, currency, amount):
if self.id in {AUTOJANNY_ID, LONGPOSTBOT_ID, ZOZBOT_ID}:
return
if SITE == 'watchpeopledie.tv' and self.id == 5222: if SITE == 'watchpeopledie.tv' and self.id == 5222:
return return