An open API service indexing awesome lists of open source software.

https://github.com/iamnalinor/neiro2ban

Ban annoying "Нейросети для творчества и заработка" reaction spammers
https://github.com/iamnalinor/neiro2ban

Last synced: about 1 month ago
JSON representation

Ban annoying "Нейросети для творчества и заработка" reaction spammers

Awesome Lists containing this project

README

        

# neiro2ban
Ban annoying "Нейросети для творчества и заработка" reaction spammers

Bot bans users meeting **all of this criterias**:
1. The user added a reaction on behalf of his profile
2. This is the first and only reaction from this user on this message
3. The reaction should be added no later than 10 seconds from the time the message was sent
4. The user must have `@creaitors_bot` keyword in bio

## Setup
1. Create your bot in @BotFather, add it to target group and give admin rights with "Ban users" privilege
2. `pip install -r requirements.txt`
3. Either create file `.env` and fill it with your token (i.e. `BOT_TOKEN=123456:abcdef`) or pass BOT_TOKEN as environment variable
4. Run main.py