dev #43
@ -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