Skip to content

Commit

Permalink
dev: output phone number
Browse files Browse the repository at this point in the history
  • Loading branch information
hlf20010508 committed May 10, 2024
1 parent e50874d commit 9c61e99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/handlers/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from telethon import events
from modules.client import tg_bot
from modules.env import tg_user_name
from modules.env import tg_user_name, tg_user_phone
from modules.res import start_res
from modules.utils import check_in_group

Expand All @@ -17,4 +17,5 @@
async def start_handler(event):
"""Send a message when the command /start is issued."""
await event.respond(start_res)
raise events.StopPropagation
await event.respond(tg_user_phone)
raise events.StopPropagation

0 comments on commit 9c61e99

Please sign in to comment.