Seems like added a grayout for sponsors
This commit is contained in:
parent
66a1ea17ab
commit
fd19b4cb0b
@ -93,7 +93,7 @@ if configGet("enabled", "features", "sponsorships") is True:
|
||||
except Exception as exp:
|
||||
logWrite(f"Could not find user {entry['user']} notify about sponsorship expiry due to '{exp}'")
|
||||
continue
|
||||
for entry in col_sponsorships.find({"sponsorship.expires": {"$lt": datetime.now()}}):
|
||||
for entry in col_sponsorships.find({"sponsorship.expires": {"$lt": datetime.now()-timedelta(days=1)}}):
|
||||
try:
|
||||
holo_user = HoloUser(entry["user"])
|
||||
col_sponsorships.find_one_and_delete({"user": holo_user.id})
|
||||
|
Reference in New Issue
Block a user