This page looks best with JavaScript enabled

Cara Deploy Bot Music Di Termux

 ·  β˜• 2 min read
    🏷️
  • #Bot
Views

Made Wiguna bloggers - selama datang kembali di tutorial termux ! Kali ini saya akan memberikan sedikit tutorial cara deploy bot musik Telegram di termux, btw saya sarankan untuk deploy di Heroku / vps, karena agak berat kalau langsung deploy di termux

1
apt update 

Install ffmpeg dan python3

1
pkg install ffmpeg python3

Langkah pertama clone dulu repo nya

1
git clone https://github.com/callsmusic/callsmusic.git


Lalu masuk ke direktori callmusic

1
cd callsmusic

Sekarang waktunya Install

1
pip3 install -U -r requirements.txt

Hasilnya akan seperti ini
hasil

Jika sudah selesai saatnya copy file example.env menjadi .env

1
cp example.env .env


Dan sekerang silakan edit file .env

1
nano .env

Isi nya akan seperti ini

GNU nano 4.8            example.env
# If you don’t deploy with docker, keep it as is
# and if you do so it should be a session string
# generated by running str.py.
SESSION_NAME=session

# A bot token from @BotFather.
BOT_TOKEN=123456:abcdefghijklmnopqrstuv

# Your app credentials from http://my.telegram.org/.
API_ID=123456
API_HASH=abcdefghijklmnopqrstuv

# A list of user IDs separated by space, this
# will let them use admin commands anywhere
# without requiring them to be admin.
SUDO_USERS=1111 2222

# Max duration to allow for audio downloads
# in minutes. It is usually used to save storage.
DURATION_LIMIT=10


Silakan di lengkapi dulu ya..

Dan langkah terakhir adalah menjalankan bot nya, silakan jalankan perintah :

1
python3 -m callsmusic


Dan hasilnya akan seperti ini

python3 -m callsmusic

Selamat mencoba πŸ˜„!,

Share on

Made Wiguna
WRITTEN BY
Made Wiguna
Web Developer