This commit is contained in:
machka pasla
2025-12-20 14:40:47 +03:00
parent c8fd79e4ba
commit adb1105621
+2
View File
@@ -430,6 +430,8 @@ class Settings(BaseSettings):
"""When true, the bot sells traffic packages instead of time-based subscriptions."""
return bool(self.traffic_packages or self.stars_traffic_packages)
@computed_field
@property
def referral_bonus_inviter(self) -> Dict[int, int]:
bonuses: Dict[int, int] = {}
if self.REFERRAL_BONUS_DAYS_INVITER_1_MONTH is not None: