Sponsorship reapply suggested within 90 days

This commit is contained in:
Profitroll 2023-04-19 10:32:57 +02:00
parent ea753beda1
commit 453293e38a

View File

@ -51,7 +51,7 @@ async def cmd_sponsorship(app: Client, msg: Message):
existent = col_sponsorships.find_one(
{
"user": msg.from_user.id,
"sponsorship.expires": {"$gt": datetime.now() - timedelta(days=1)},
"sponsorship.expires": {"$gt": datetime.now() - timedelta(days=90)},
}
)