From 453293e38a5e0ca0ce27ced7586004e245f50b7a Mon Sep 17 00:00:00 2001 From: profitroll Date: Wed, 19 Apr 2023 10:32:57 +0200 Subject: [PATCH] Sponsorship reapply suggested within 90 days --- modules/commands/sponsorship.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/commands/sponsorship.py b/modules/commands/sponsorship.py index eb816ec..44fa779 100644 --- a/modules/commands/sponsorship.py +++ b/modules/commands/sponsorship.py @@ -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)}, } )