Karan Adhikari commited on
Commit
b874959
·
unverified ·
1 Parent(s): 2ca6f44

Update subscription_checker.py

Browse files
Backend/helper/subscription_checker.py CHANGED
@@ -34,7 +34,7 @@ async def subscription_checker_loop(bot: Client):
34
  user_id,
35
  "❌ <b>Subscription Expired</b>\n\n"
36
  "Your subscription has expired, and you have been removed from the private group.\n"
37
- f"Please go to {config.subscription_url} and send /start to renew your subscription and regain access."
38
  )
39
  LOGGER.info(f"Kicked expired user {user_id}")
40
  except Exception as e:
@@ -50,7 +50,7 @@ async def subscription_checker_loop(bot: Client):
50
  user_id,
51
  f"⚠️ <b>Subscription Expiring Soon</b>\n\n"
52
  f"Your subscription will expire on <b>{expiry.strftime('%Y-%m-%d %H:%M UTC')}</b>.\n"
53
- f"Please go to {config.subscription_url} and send /start to renew your plan before you lose access to the group!"
54
  )
55
  await db.mark_reminder_sent(user_id)
56
  LOGGER.info(f"Sent expiry reminder to user {user_id}")
 
34
  user_id,
35
  "❌ <b>Subscription Expired</b>\n\n"
36
  "Your subscription has expired, and you have been removed from the private group.\n"
37
+ f"Please go to {SettingsManager.current().subscription_url} and send /start to renew your subscription and regain access."
38
  )
39
  LOGGER.info(f"Kicked expired user {user_id}")
40
  except Exception as e:
 
50
  user_id,
51
  f"⚠️ <b>Subscription Expiring Soon</b>\n\n"
52
  f"Your subscription will expire on <b>{expiry.strftime('%Y-%m-%d %H:%M UTC')}</b>.\n"
53
+ f"Please go to {SettingsManager.current().subscription_url} and send /start to renew your plan before you lose access to the group!"
54
  )
55
  await db.mark_reminder_sent(user_id)
56
  LOGGER.info(f"Sent expiry reminder to user {user_id}")