Sponsorship reapply suggested within 90 days
This commit is contained in:
parent
ea753beda1
commit
453293e38a
@ -51,7 +51,7 @@ async def cmd_sponsorship(app: Client, msg: Message):
|
|||||||
existent = col_sponsorships.find_one(
|
existent = col_sponsorships.find_one(
|
||||||
{
|
{
|
||||||
"user": msg.from_user.id,
|
"user": msg.from_user.id,
|
||||||
"sponsorship.expires": {"$gt": datetime.now() - timedelta(days=1)},
|
"sponsorship.expires": {"$gt": datetime.now() - timedelta(days=90)},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user