Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.7 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.7 KB

mr-renamerbot

Overview

This is a multi-purpose Telegram bot that provides various functionalities including:

  • Renaming Telegram files into different formats
  • Converting files into video format
  • Supporting custom captions and permanent thumbnails
  • Enforcing subscription to a targeted chat

Deploy

Heroku

You can easily deploy the bot to Heroku by clicking the button below:

Deploy

Local Server

To deploy the bot on your own server, follow these steps:

  1. Clone this repository to your local machine.
  2. Install the required dependencies by running pip install -r requirements.txt.
  3. Obtain the following credentials:
    • TG_BOT_TOKEN: Your Bot Token obtained from @BotFather.
    • UPDATE_CHANNEL: A channel username (without @) used for ForceSubscribe.
    • APP_ID and API_HASH: Obtain these from Telegram's website or @UseTGXBot.
  4. Set up these credentials in your environment variables or directly in the code.
  5. Run the bot script using python3 bot.py.

Support

For any issues or questions related to the bot, feel free to open an issue on GitHub or reach out to the maintainer.