Skip to content

Commit

Permalink
update access_check.py
Browse files Browse the repository at this point in the history
  • Loading branch information
5hojib committed Dec 29, 2024
1 parent 3c09948 commit c31d3a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bot/helper/aeon_utils/access_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

from bot import (
LOGGER,
bot_name,
user_data,
)
from bot.core.aeon_client import TgClient
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c31d3a8

Please sign in to comment.