Skip to content

Latest commit

 

History

72 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Telegram Bot

This is a simple Telegram bot that logs users' details (name, username, and user ID) to a specific logger group whenever a user starts the bot. It also provides a /getpvt command to fetch group links.

Features:

  • Logs user details (name, username, user ID) to a logger group when the bot is started.
  • Provides a /getpvt command to get a group link.

Requirements:

  • Python 3.9+
  • Install dependencies with: pip install -r requirements.txt

Setup:

  1. Replace YOUR_BOT_TOKEN with your bot token from BotFather in bot.py.
  2. Replace @your_logger_group_or_chat_id with your logger group's chat ID or username.
  3. Run the bot with: python bot.py
  4. For deployment, use Heroku or Docker.

Heroku Deployment:

  1. Push the code to a new repository.
  2. Deploy using heroku create and git push heroku main.

Docker Deployment:

  1. Build the Docker image: docker build -t telegram-bot .

  2. Run the container: docker run -p 80:80 telegram-bot

  3. MADE BY SANKI XD

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages