An open API service indexing awesome lists of open source software.

https://github.com/armanidrisi/python-bot

Telegram Bot Created Using Python
https://github.com/armanidrisi/python-bot

bot python python-bot python-telegram-bot refer-bot telegram telegram-bot telegram-bots

Last synced: 5 months ago
JSON representation

Telegram Bot Created Using Python

Awesome Lists containing this project

README

        

# 🔗 Refer and Earn Telegram Bot

[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/Armanidrisi/python-bot/blob/main/LICENSE)
![GitHub repo size](https://img.shields.io/github/repo-size/Armanidrisi/python-bot)
![GitHub contributors](https://img.shields.io/github/contributors/Armanidrisi/python-bot)
![GitHub last commit](https://img.shields.io/github/last-commit/Armanidrisi/python-bot)
![GitHub forks](https://img.shields.io/github/forks/Armanidrisi/python-bot)
![GitHub issues](https://img.shields.io/github/issues-raw/Armanidrisi/python-bot)
![GitHub pull requests](https://img.shields.io/github/issues-pr/Armanidrisi/python-bot)
![GitHub stars](https://img.shields.io/github/stars/Armanidrisi/python-bot)

### ↳ Stargazers
[![Stargazers repo roster for @Armanidrisi/python-bot](https://reporoster.com/stars/Armanidrisi/python-bot)](https://github.com/Armanidrisi/python-bot/stargazers)

### ↳ Forkers
[![Forkers repo roster for @Armanidrisi/python-bot](https://reporoster.com/forks/Armanidrisi/python-bot)](https://github.com/Armanidrisi/python-bot/network/members)

This is a Telegram bot created using Python and PyTelegramBotAPI that allows users to refer their friends to the bot and earn rewards in return. The bot is designed to keep track of user referrals and assign rewards based on the number of successful referrals made.

## 🚀 How to Use

1. Clone the repository to your local machine
2. Install the dependencies using `pip install -r requirements.txt`
3. Create a Telegram bot using [BotFather](https://core.telegram.org/bots#6-botfather) and get your bot token
4. Update the `main.py` file with your bot token
5. Run the bot using `python main.py`

Once the bot is running, users can interact with it by messaging it on Telegram. They can use the `/start` command to begin the referral process and receive their referral link. They can then share this link with their friends, who can use it to join the bot. The bot will automatically keep track of successful referrals and assign rewards accordingly.

## 🛠️ Language/Framework Used

![Python version](https://img.shields.io/badge/python-3.9-blue)
![PyTelegramBotAPI version](https://img.shields.io/badge/PyTelegramBotAPI-3.8.2-green)

## 🎥 Video Tutorial

[![Watch the video](https://img.youtube.com/vi/z1UY8UjQpKw/0.jpg)](https://www.youtube.com/watch?v=z1UY8UjQpKw)

## 👨‍💻 Author

This project was created by [Arman Idrisi](https://github.com/Armanidrisi).

## 📝 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.