Pluggable Telegram bot based on Pyrogram.
Simply the purpose of this bot is to translate subtitle files from one language to another.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Mozilla Public License for more details.
Simply clone the repository and run the main file:
git clone https://github.com/agentnova/SubtitleTranslator-Bot
cd SubtitleTranslator-Bot
python3 -m venv venv
. ./venv/bin/activate
pip install -r requirements.txt
python3 bot.py
class cred():
BOT_TOKEN = "your bot token from botfather"
API_ID = "your api id from my.telegram.org!"
API_HASH = "your api hash from my.telegram.org!"
DB_URL = "your database url from google firebase"
BOT_NAME = "your bot name"