Telegram PlaylistAudioBot
PlaylistAudioBot:
Features
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
- Youtube-DL downloading status
- Fully customizable progressbar
- Auto update ytdl with every request
- Only one process in same time (for stabilization)
- Embed thumbnail, metadata's to file
- Custom ytdl format selector (dont change if you dont know)
- Custom thumbnail (replace src/file.jpg with yours)
- Force Subscribe
- Video limit (give 0 for unlimited, default 0)
- Size limit (give 0 for unlimited, default 0)
- Logger
- Shell
- Pinger
Setting up config file
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
Required Variables:
BOT_TOKEN
: Telegram Bot Token. Example:3asd2a2sd32:As56das65d2as:ASd2a6s3d26as
APP_ID
: Telegram App ID. Example:32523453
API_HASH
: Telegram Api Hash. Example:asdasdas6d265asd26asd6as1das
AUTH_IDS
: Auth only some groups or users. If you want public, leave it empty or give0
. Example:-100656 56191 -10056561
BOT_USERNAME
: Your bot's username. without @. Example:PlaylistAudioBot
Not Required Variables:
OWNER_ID
: Bot's owner id. Send/id
tot.me/MissRose_bot
in private to get your id. Required for shell and say hello in every restart to you. If you don't want, leave it empty.FORCE_SUBSCRIBE_CHANNEL
: Force subscribe channel or group. Example:-1001327202752
or@HuzunluArtemis
. To disable leave it empty. Do not forget to make admin your bot in forcesub channel or group.CHANNEL_OR_CONTACT
: Your bot's channel or contact username. Example:HuzunluArtemis
JOIN_CHANNEL_STR
: Join channel warning string. Seeconfig.py
.YOU_ARE_BANNED_STR
: Banned user string. Seeconfig.py
.JOIN_BUTTON_STR
: Join button string. Seeconfig.py
.VIDEO_LIMIT
: Max video limit. Example:3
,62
,52
(give 0 for unlimited, default 0)VIDEO_LIMIT
: Max playlist size limit in bytes. (give 0 for unlimited, default 0)UPDATE_YTDL_EVERY_DOWNLOAD
: GiveTrue
if you want to update ytdl in every download command. DefaultTrue
SLEEP_BETWEEN_SEND_FILES
: For floodwait. Leave blank if you dont know.YTDL_DOWNLOAD_FORMAT
: Ytdl format selector. Leave blank if you dont know.
Deploy
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
Deploy to Heroku:
- Open me in new tab
- Fill required variables
- Fill app name (or dismiss)
- Make you sure building with Dockerfile (as container. not heroku-18 or heroku-20)
Deploy to Local:
- install python and ffmpeg to your machine
git clone https://github.com/HuzunluArtemis/PlaylistAudioBot
cd PlaylistAudioBot
pip install -r requirements.txt
python bot.py
Deploy to Vps:
git clone https://github.com/HuzunluArtemis/PlaylistAudioBot
cd PlaylistAudioBot
- For Debian based distros
sudo apt install python3 && sudo snap install docker
- For Arch and it's derivatives:
sudo pacman -S docker python
License
🇬🇧
Click Here
🇹🇷
Buraya Tıkla
PlaylistAudioBot is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.