Git Product home page Git Product logo

antibroadcast's Introduction

Deploy on Heroku

Click The Button

Bot Anti-Broadcast Telegram

Bot ini dibuat menggunakan Python dengan bantuan pustaka python-telegram-bot. Bot ini dapat digunakan untuk menghapus pesan broadcast atau global di grup Telegram.

Persiapan

  1. Bot Telegram:

    • Buat bot Telegram dengan menghubungi BotFather.
    • Dapatkan token bot dari BotFather.
  2. Repositori GitHub:

    • Buat repositori baru di GitHub.
  3. Heroku:

    • Daftar dan buat aplikasi di Heroku.

Konfigurasi

  1. Heroku:

    • Pada tab "Settings" di Heroku, tambahkan variabel lingkungan:
      • BOT_TOKEN: Token bot yang Anda dapatkan dari BotFather.
      • CHAT_ID: ID grup di Telegram.
  2. GitHub Secrets:

    • Pada halaman repositori GitHub, buka tab "Settings" -> "Secrets", dan tambahkan variabel:
      • BOT_TOKEN: Token bot yang Anda dapatkan dari BotFather.
      • CHAT_ID: ID grup di Telegram.

Deploy ke Heroku

  1. Hubungkan aplikasi Heroku ke repositori GitHub.
  2. Pilih metode deploy dari GitHub di tab "Deploy" di Heroku.
  3. Aktifkan "Automatic Deploys" jika diinginkan.

Menjalankan Bot Lokal (Opsional)

Jika ingin menjalankan bot secara lokal:

  1. Install dependensi dengan menjalankan pip install -r requirements.txt.
  2. Setel variabel lingkungan BOT_TOKEN dan CHAT_ID.
  3. Jalankan bot dengan perintah python bot.py.

Catatan

  • Pastikan bot memiliki izin untuk menghapus pesan di grup Telegram.

Terima kasih telah menggunakan Bot Anti-Broadcast Telegram!

antibroadcast's People

Contributors

maxguns 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.