Giter Site home page Giter Site logo

sfmindmap / mdbooks_bot Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 22 KB

This repository contains the open source code of a Telegram bot capable of sending school books via inline mode directly to chat. Developed on Python, this bot provides quick access to downloading educational books for schoolchildren of different grades in Moldova.

License: GNU General Public License v3.0

Python 100.00%

mdbooks_bot's Introduction

๐Ÿ“š Molodova Book Telegram Inline Bot

Quick access to Moldovan school books via Telegram

TeleBot Python License

Description

Bot Demo

This repository contains the open source code of a Telegram bot capable of sending school books via inline mode directly to chat. Developed in Python, this bot provides quick access to downloading educational books for schoolchildren of different grades in Moldova.

๐Ÿ“Œ Usage (Inline)

To request a book, simply type "@Mdbooks_bot" (or your bot's nickname) in the message input field, followed by the grade number (1 to 12, 13 for English books, and 14 for French books) and the book's name. For example: "@Mdbooks_bot 7 fiz" or "@Mdbooks_bot 7 fizica". The bot will suggest options based on your query.

๐Ÿ“‚ How to Install

  1. Clone this repository: git clone https://github.com/SFmindMAP/MdBooks_bot
  2. Install dependencies with pip install -r requirements.txt
  3. Navigate to the directory containing the repository files and edit YOUR_API with your API token in the bot.py file.
  4. Enable inline mode for your bot in @BotFather: Bot Settings > Inline Mode > Turn inline mode on.
  5. Run your bot: python bot.py. (For Linux: If you want to run the bot in the background, use this command: nohup python bot.py > /dev/null 2>&1 &)

๐Ÿ› ๏ธ In Development

Version V2 is in development, which will include direct file sending instead of URLs for downloading.

๐Ÿ“ƒ License

This project is licensed under the GNU General Public License v3.0.

๐Ÿ”— Bot Link

Link to the bot

๐Ÿ“• Contacts

If you have any suggestions or ideas, feel free to reach out:

Telegram Instagram

mdbooks_bot's People

Contributors

sleryfink avatar

Stargazers

 avatar Nikita Athlonsky avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.