Skip to content
This repository has been archived by the owner on May 13, 2021. It is now read-only.

👮️ Ban all these annoying spammers from your public Telegram groups.

Notifications You must be signed in to change notification settings

pugson/telegram-crypto-antispam-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telegram-crypto-antispam-bot

👮️ Ban all these annoying spammers from your public Telegram groups.

What does this bot do?

Currently it checks if there has been a forwarded message with any link entity, removes the message, and bans the user that sent it. It does the same thing when it matches a mention of t.me/bitcoin and some other variations. Check index.js for the regex list.

How to use

  1. Create a Telegram bot by speaking to @BotFather.
  2. Clone this repo.
  3. Run yarn install
  4. Create a .env file with the token you received from BotFather:
TOKEN='pasteyourtokenhere'
  1. Start it with node index.js.
  2. Add your bot to your group and give it admin rights so it can delete messages and ban spammers.

About

👮️ Ban all these annoying spammers from your public Telegram groups.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published