Skip to content

NGGTLightKeeper/AIT-TelegramBot

Repository files navigation

AIT-TelegramBot (Animated Inline Text - Telegram Bot)

This repository contains the AIT-TelegramBot project, the bot is designed to animate chat messages in Telegram. Animation of prepared messages added in advance, including multi-frame ones, is supported. It also supports sending short messages from the inline chat mode, but with a limited choice of animation types. It is possible to start the animation immediately after sending a message or after pressing the "Start" button.

Supported bot commands

  • /start - Start
  • /help - Help
  • /language - Change the language
  • /profile - Your profile
  • /messages - Saved messages
  • /addmessage - Add saved message
  • /addframesmessage - Add multi-frame saved message

Requirements

You can install the required Python packages using pip:

pip install pyTelegramBotAPI Django mysqlclient Pillow

Installation and Usage

Bot Setup

  1. Clone this repository to your local machine.
  2. Install the required Python libraries as listed above.
  3. Create bot in @BotFather.
  4. Get BOT_TOKEN and enable inline bot mode in BotFather bot settings.
  5. Insert your BOT_TOKEN in settings file.
  6. Open a terminal in the project's root directory and run the server:
    python main.py runserver
  7. Add a prepared message or in chat with another user write in inline mode "@your_bot message"

License

This project is licensed under the MIT License.