From 9c61e998a290b3a83b58fdc4fa1f27a83d01d5a9 Mon Sep 17 00:00:00 2001 From: L-ING Date: Fri, 10 May 2024 20:24:00 +0800 Subject: [PATCH] dev: output phone number --- modules/handlers/start.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/handlers/start.py b/modules/handlers/start.py index 4618b27..3c1399c 100644 --- a/modules/handlers/start.py +++ b/modules/handlers/start.py @@ -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 @@ -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 \ No newline at end of file + await event.respond(tg_user_phone) + raise events.StopPropagation