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

https://github.com/mscbuild/assistant_bot

πŸ€– Assistant Bot is a Telegram-based productivity assistant designed to streamline team communication and task tracking. It offers quick access to weekly reports, task lists, and provides an interface for users to ask questions.
https://github.com/mscbuild/assistant_bot

bot development python report task telegram-bot

Last synced: 11 months ago
JSON representation

πŸ€– Assistant Bot is a Telegram-based productivity assistant designed to streamline team communication and task tracking. It offers quick access to weekly reports, task lists, and provides an interface for users to ask questions.

Awesome Lists containing this project

README

          

# πŸ€– Assistant Bot
![](https://komarev.com/ghpvc/?username=mscbuild)
![](https://img.shields.io/github/license/mscbuild/Assistant_Bot)
![](https://img.shields.io/badge/PRs-Welcome-green)
![](https://img.shields.io/github/languages/code-size/mscbuild/Assistant_Bot)
![](https://img.shields.io/badge/code%20style-python-green)
![](https://img.shields.io/github/stars/mscbuild)
![](https://img.shields.io/badge/Topic-Github-lighred)
![](https://img.shields.io/website?url=https%3A%2F%2Fgithub.com%2Fmscbuild)

## 🧠 Project Description

Assistant Bot is a Telegram-based productivity assistant designed to streamline team communication and task tracking. It offers quick access to weekly reports, task lists, and provides an interface for users to ask questions. Built with Python and the `python-telegram-bot` library, this bot simplifies team operations within Telegram, providing a menu-driven interface for intuitive interaction.

# πŸ—ΊοΈ Project Map (Structure)
~~~bash
assistant-bot/
β”œβ”€β”€ bot.py # Main application logic
β”œβ”€β”€ README.md # Project description and setup guide
β”œβ”€β”€ requirements.txt # Python dependencies
β”œβ”€β”€ .env # Environment variables (e.g. bot token)
β”œβ”€β”€ utils/ # Helper functions (e.g. keyboards, messages)
β”‚ └── menu.py # Main menu UI
β”œβ”€β”€ handlers/ # Bot handlers
β”‚ β”œβ”€β”€ start.py # /start command handler
β”‚ β”œβ”€β”€ callback.py # Inline button callback logic
β”‚ └── messages.py # Text message handler
└── LICENSE
~~~

## ✨ Features

- πŸ“Š Weekly Report Overview
- πŸ“‹ Task List Display
- ❓ Q&A Prompting
- 🧠 Smart reply for common phrases (e.g., "tasks", "review reports")
- 🧡 InlineKeyboard navigation

### Prerequisites

- Python 3.10+
- Telegram account
- Telegram bot token (from [@BotFather](https://t.me/BotFather))

## 1.Clone the repo:

~~~bash
git clone https://github.com/yourusername/Assistant_Bot.git
cd Assistant_Bot
~~~

## 2.Create a virtual environment and activate it:
~~~bash
python -m venv venv
source venv/bin/activate # On Windows use venv\Scripts\activate
~~~

## 3. Install dependencies:
~~~bash
pip install -r requirements.txt
~~~

## 4. Set your bot token in .env:
~~~bash
BOT_TOKEN=your_token_here
~~~

## 5. Run the bot:
~~~bash
python bot.py
~~~

# 🧱 Tech Stack

- Python 3.10+

- python-telegram-bot

- dotenv (for managing environment variables)

# πŸ“‹ Checklist

- βœ… Start command handler

- βœ… Inline keyboard main menu

- βœ… Report display

- βœ… Task list generation

- βœ… Question prompt handling

- βœ… Basic natural language message recognition

- ☐ Logging integration

- ☐ Persistent storage for tasks/reports

- ☐ Unit testsStart

# πŸ“¦ What is needed for deployment

| File | Purpose |
| --------------------------- | -------------------------------------------------- |
| `Dockerfile` | Building a container for local/cloud running |
| `Procfile` | To start Heroku worker |
| `.env` | Local environment variables |
| `requirements.txt` | Installing dependencies |
| `bot.py` and other modules | Bot's main code |

# πŸ“„ License

> MIT License