Skip to content

aliseyedi01/Telegram-Bot-Challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Football Grass Telegram Bot ⚽

🌐 Overview

  • A Telegram bot built with Python using the python-telegram-bot library.
  • The bot provides information about the number of your commits in Telegram.

🎥 Demo

Online Bot

📸 Screenshots

image

🚀 Features

  • Commit : Show the number of today's commits and all commits from 2024.
  • Streak : Show continuous days of committed activity for the current and longest streak.

🛠️ Technology Used

  • Python: Programming language used for bot development.
  • python-telegram-bot: Telegram Bot API wrapper for Python.
  • requests: Library for making HTTP requests.
  • dotenv: Library for loading environment variables from a .env file.

⚙️ Prerequisites

  • Python 3.6 or later
  • Telegram API token
  • GitHub API token

📥 Installation

  1. Clone the repository:

    git clone https://github.com/aliseyedi01/Footbal_Grass_Bot.git
    cd your_repository
  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file and add your Telegram API token:

    TOKEN_TEL=your_telegram_api_token
    TOKEN_GH=your_github_api_token
    
  4. Run the bot:

    python main.py

📝 Usage

  1. Start the bot by sending the /report command in the Telegram app.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A bot to view GitHub's daily commits and streak

Topics

Resources

Stars

Watchers

Forks

Languages