genstava789 commited on
Commit
862b6f2
·
1 Parent(s): 44749a4
Files changed (1) hide show
  1. bot.py +2 -0
bot.py CHANGED
@@ -482,6 +482,8 @@ async def process_tiktok_link(client: Client, message: Message, url: str):
482
 
483
  @bot.on_message(filters.command("info") & filters.private)
484
  async def info_handler(client: Client, message: Message):
 
 
485
  if len(message.command) != 2:
486
  await message.reply_text(f"Usage: /info <channel_username_or_link>")
487
  return
 
482
 
483
  @bot.on_message(filters.command("info") & filters.private)
484
  async def info_handler(client: Client, message: Message):
485
+ user_id = message.from_user.id # Get the user ID of the sender
486
+
487
  if len(message.command) != 2:
488
  await message.reply_text(f"Usage: /info <channel_username_or_link>")
489
  return