All Projects → F0rzend → antirobot_aiogram

F0rzend / antirobot_aiogram

Licence: other
Телеграм бот для блокировки спама

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to antirobot aiogram

Aiogram
Is a pretty simple and fully asynchronous framework for Telegram Bot API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 2,195 (+8342.31%)
Mutual labels:  asyncio, telegram-bot-api, aiogram
webhook-aiogram-heroku
A sample telegram bot made with aiogram, that fetches updates using the web-hook connection. Can be easily deployed to Heroku.
Stars: ✭ 36 (+38.46%)
Mutual labels:  telegram-bot-api, aiogram
aiogram-structured
Code your aiogram bot faster, easier & modular.
Stars: ✭ 32 (+23.08%)
Mutual labels:  telegram-bot-api, aiogram
aioredis-cluster
Redis Cluster support extension for aioredis
Stars: ✭ 21 (-19.23%)
Mutual labels:  asyncio, python38
hypercorn-fastapi-docker
Docker image with Hypercorn for FastAPI apps in Python 3.7, 3.8, 3.9. Ready for HTTP2 and HTTPS
Stars: ✭ 18 (-30.77%)
Mutual labels:  asyncio, python38
Sharingan
We will try to find your visible basic footprint from social media as much as possible - 😤 more sites is comming soon
Stars: ✭ 13 (-50%)
Mutual labels:  asyncio, python38
prisma-client-py
Prisma Client Python is an auto-generated and fully type-safe database client designed for ease of use
Stars: ✭ 739 (+2742.31%)
Mutual labels:  asyncio, python38
Aioredis Py
asyncio (PEP 3156) Redis support
Stars: ✭ 2,003 (+7603.85%)
Mutual labels:  asyncio, python38
aiogram dialog
GUI framework on top of aiogram
Stars: ✭ 263 (+911.54%)
Mutual labels:  telegram-bot-api, aiogram
aioScrapy
基于asyncio与aiohttp的异步协程爬虫框架 欢迎Star
Stars: ✭ 34 (+30.77%)
Mutual labels:  asyncio
aioneo4j
asyncio client for neo4j
Stars: ✭ 29 (+11.54%)
Mutual labels:  asyncio
node-tdlib
TDLib Binding with Telegram Bot API Reimplemention for Node.js
Stars: ✭ 35 (+34.62%)
Mutual labels:  telegram-bot-api
scp-079-captcha
Provide challenges for newly joined members
Stars: ✭ 52 (+100%)
Mutual labels:  captcha
trellio
Python3 asyncio based microframework for microservice architecture
Stars: ✭ 19 (-26.92%)
Mutual labels:  asyncio
socketwrapper
Async/Sync networking library including UDP, TCP and TLS/TCP socket classes written in C++ 17.
Stars: ✭ 33 (+26.92%)
Mutual labels:  asyncio
telegram-bot-framework
Python Telegram bot API framework
Stars: ✭ 19 (-26.92%)
Mutual labels:  telegram-bot-api
Server-Captcha
Protect Your Server From Automated Bots With Captcha Now !
Stars: ✭ 18 (-30.77%)
Mutual labels:  captcha
tinkoff-api
Python Tinkoff API client for asyncio and humans
Stars: ✭ 60 (+130.77%)
Mutual labels:  asyncio
sniffio
Sniff out which async library your code is running under
Stars: ✭ 75 (+188.46%)
Mutual labels:  asyncio
aiotinydb
asyncio compatibility shim for tinydb
Stars: ✭ 42 (+61.54%)
Mutual labels:  asyncio

Antirobot

Телеграм бот для блокировки спама.

Принцип работы

При входе нового пользователя в чат, ему отправляется сообщение с просьбой выбрать один emoji из нескольких предложенных.

Список emoji находится в файле data/emojies.py, шаблоны сообщений в data/phrases.py.

Необходимые разрешения

Боту требуются права администратора с возможностями:

  • Удалять сообщения
  • Блокировать участников

Docker

docker-compose up -d

Установка и запуск

Переименовать .env.dist в .env

python -m venv venv
source venv/bin/activate
# venv\bin\activate.bat - для Windows
pip install -r requirements.txt
python app.py

Настройка логирования в файле utils/logger_config.py

Environment

Переменная Тип По умолчанию Обязательная
BOT_TOKEN str Да
ADMINS_ID list of IDs Да
SKIP_UPDATES bool False Нет
NUM_BUTTONS int 5 Нет
ENTRY_TIME int 300 Нет
BAN_TIME int 30 Нет

BOT_TOKEN -
ADMINS_ID -
SKIP_UPDATES -
NUM_BUTTONS - кол-во предлагаемых вариантов emoji в сообщении от бота. От 2 до 7 включительно.
ENTRY_TIME -
BAN_TIME -

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].