dev #43

Merged
profitroll merged 49 commits from dev into master 2023-05-02 14:12:58 +03:00
Showing only changes of commit 453293e38a - Show all commits

View File

@ -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)},
} }
) )