Git Product home page Git Product logo

menjahit's Introduction

MyKasihBot L14R

Tutorial MyKasih

data yang diperlukan

  1. Akun khusus (akun telegram)
  2. 2 bot token, 1 untuk penampung, 2 untuk helper (Buat di @botfather)
  3. Panel untuk web
  4. VPS untuk bot
  5. File untuk web, download disini https://www.mediafire.com/file/8z00axttdacbieq/mykasih.zip/file

setting web

  1. Masuk ke panel nya
  2. Upload file untuk web yg didownload tadi
  3. Extract file nya
  4. Edit file index.html
  • cari bagian var botToken lalu edit nilai nya menjadi bot token helper atau yg media
  • cari bagian var chat lalu edit nilai nya menjadi id akun khusus (yg bisa diambil dari  @getmyid_bot)
  1. Lakukan hal yang sama seperti nomer 4 di file verify.html dan authenticate.html
  2. Jika Sudah disimpan saja, web sudas berjalan

setting bot

  1. Masuk ke vps ( bisa pake cmd atau putty )
  2. Ketik apt update
  3. Ketik apt install -y tmux git python3-venv
  4. Ketik git clone https://github.com/zacklie57/MyKasihBot
  5. Ketik cd MyKasihBot
  6. Ketik python3 -m venv v
  7. Ketik tmux new
  8. Ketik source v/bin/activate
  9. Ketik pip install -r requirements.txt
  10. Ketik cp sample.env .env
  11. Ketik nano .env (isi data yg diperlukan lihat bagian # isi data dibawah)
  12. Jika sudah pencet Ctrl + s untuk menyimpan, lalu pencet Ctrl + x
  13. Lalu ketik python3 main.py (bot akan aktif)
  14. Tutup saja aplikasi cmd atau putty nya

setting bot via hp

  1. Masuk ke vps ( bisa pake termux atau termius )
  2. Ketik sudo apt-get update && sudo apt-get dist-upgrade
  3. Ketik apt install -y tmux git python3-venv
  4. salin dan paste link repositori git clone https://github.com/zacklie57/MyKasihBot
  5. Ketik cd MyKasihBot
  6. Ketik python3 -m venv v
  7. Ketik . ./v/bin/activate
  8. Ketik pip install -r requirements.txt
  9. Ketik cp sample.env .env
  10. Ketik nano .env (isi data yg diperlukan lihat bagian # isi data dibawah)
  11. Jika sudah pencet Ctrl + s untuk menyimpan, lalu pencet Ctrl + x
  12. Ketik screen -S (nama project an yg ingin di jalankan)
  13. Lalu ketik python3 main.py (bot akan aktif)
  14. Lalu ketik ctrl +a dan ctrl +d
  15. ketik exit untuk keluar dari vps nya

Isi data

  1. BOT_TOKEN (yang dibuat dari @botfather)
  2. SESSION (session akun khusus, yang bisa dibuta dari @MakimaStringBot)
  3. ADMINS (masukan id akun untuk akses bot penampung, bisa diambil dari @getmyid_bot)
  4. OWNER (masukan id akun untuk akses bot penampung, bisa diambil dari @getmyid_bot)
  5. USERBOT_ID (masukan id khusus untuk akses bot penampung, bisa diambil dari @getmyid_bot)
  6. HELPER (username bot helper)

menjahit's People

Contributors

zacklie57 avatar caritemanon avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.