This is a music downloader bot for members of the channel and group
• Your Bot Token From @BotFather
• Your APP ID And API Harsh From Telegram or @UseTGXBot
• Your telegram id from Rose Bot
• Your Group ID
• Channel Id This is Not required 🤷
A Telegram bot made with Pyrogram Smart Plugins
- Python 3.6 or higher (some plugins may require higher versions)
- A Telegram API key
- A Telegram bot token
virtualenv venv
to create a virtual environment- install
python3-devel zlib-devel libjpeg-turbo-devel libwebp-devel
, clear cache of pip (~/.cache/pip
on linux distro) for building wheel for Pillow.venv/bin/pip install -U -r requirements.txt
to install the requirements - Create a new
config.ini
file, copy-paste the following and replace the values with your own. Exclude or include plugins to fit your needs. Createconfig.py
and add constants that are specified in module docstrings of enabled plugins.[pyrogram] api_id = 1234567 api_hash = 0123456789abcdef0123456789abcdef bot_token = 123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11 [plugins] root = plugins exclude = welcome
- Run with
venv/bin/python tgbot.py
- Stop with CTRL+C
AGPL-3.0-or-later