https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot
Telegram Bot which can retrieve IP information
https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot
bot ipinfo python3 telgrambot
Last synced: 11 months ago
JSON representation
Telegram Bot which can retrieve IP information
- Host: GitHub
- URL: https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot
- Owner: dmdhrumilmistry
- License: mit
- Created: 2021-10-06T10:12:30.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-01T17:46:00.000Z (about 4 years ago)
- Last Synced: 2024-05-01T16:30:52.667Z (about 2 years ago)
- Topics: bot, ipinfo, python3, telgrambot
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IP User info bot
Telegram Bot which can retrieve IP information
## Installation
- clone repository
```bash
git clone https://github.com/dmdhrumilmistry/ip_user_info_telegram_bot.git
```
- change directory to ip_user_info_telegram_bot
```bash
cd ip_user_info_telegram_bot
```
- Install requirements
```bash
pip3 install -r requirements.txt
```
- Update ipinfo.io and Telegram tokens in main.py on line 5 and 6 respectively.
- Start bot
```bash
python3 main.py
```
## Get Telegram bot token
- Get token from [Bot Father](https://t.me/botfather)
- Use /newbot command to start a new bot
- Enter Name
- enter bot username ending with bot such as [ip_user_info_bot](https://t.me/ip_user_info_bot)
- update token in main.py
## Get ipinfo.io access token
- Sign Up on [ipinfo.io](https://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: