Skip to content

dmdhrumilmistry/ip_user_info_telegram_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IP User info bot

Telegram Bot which can retrieve IP information

Installation

  • clone repository
    git clone https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot.git
  • change directory to ip_user_info_telegram_bot
    cd ip_user_info_telegram_bot
  • Install requirements
    pip3 install -r requirements.txt
  • Update ipinfo.io and Telegram tokens in main.py on line 5 and 6 respectively.
  • Start bot
    python3 main.py

Get Telegram bot token

  • Get token from Bot Father
  • Use /newbot command to start a new bot
  • Enter Name
  • enter bot username ending with bot such as ip_user_info_bot
  • update token in main.py

Get ipinfo.io access token

  • Sign Up on ipinfo.io
  • Copy generated access token
  • update token in main.py

commands

Command Description
/start get chat id and user details
/help get help menu
/getinfo [IP] get details of IP

Requirements

  • Python
    • PyTelegramBotAPI
  • Telegram Bot Token
  • Ipinfo Access Token

Have any Ideas 💡 or issue

  • Create an issue
  • Fork the repo, update script and create a Pull Request

Connect with me on:



About

Telegram Bot which can retrieve IP information

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages