From c31d3a89cc555fd96c3ba7365cc29fcf17212e6a Mon Sep 17 00:00:00 2001 From: 5hojib Date: Sun, 29 Dec 2024 21:14:47 +0600 Subject: [PATCH] update access_check.py --- bot/helper/aeon_utils/access_check.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot/helper/aeon_utils/access_check.py b/bot/helper/aeon_utils/access_check.py index 54dad2289..cbe3338d3 100644 --- a/bot/helper/aeon_utils/access_check.py +++ b/bot/helper/aeon_utils/access_check.py @@ -6,7 +6,6 @@ from bot import ( LOGGER, - bot_name, user_data, ) from bot.core.aeon_client import TgClient @@ -183,7 +182,7 @@ async def token_check(user_id, button=None): time_str = get_readable_time(token_timeout, True) button = button or ButtonMaker() - short_link = await short(f"https://telegram.me/{bot_name}?start={token}") + short_link = await short(f"https://telegram.me/{TgClient.NAME}?start={token}") button.url_button("Collect token", short_link) msg = "Your token has expired, please collect a new token" if Config.PAID_CHAT_ID and Config.PAID_CHAT_LINK: