https://github.com/jtprogru/py-tg-moder
Телеграм-бот для простой модерации чата
https://github.com/jtprogru/py-tg-moder
moderation-bot python telegram telegram-bot
Last synced: over 1 year ago
JSON representation
Телеграм-бот для простой модерации чата
- Host: GitHub
- URL: https://github.com/jtprogru/py-tg-moder
- Owner: jtprogru
- License: wtfpl
- Created: 2021-09-18T13:40:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-02T15:02:25.000Z (over 2 years ago)
- Last Synced: 2024-03-02T16:24:32.841Z (over 2 years ago)
- Topics: moderation-bot, python, telegram, telegram-bot
- Language: Python
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# py-tg-moder
[](https://github.com/psf/black)
[](https://github.com/jtprogru/py-tg-moder/actions/workflows/docker-publish.yml)
[](https://github.com/jtprogru/py-tg-moder/actions/workflows/testing.yml)
[](https://github.com/jtprogru/py-tg-moder/actions/workflows/deploy-k8s.yml)
[](https://github.com/jtprogru/py-tg-moder/stargazers)
[](https://github.com/jtprogru/py-tg-moder/issues)
[](https://github.com/jtprogru/py-tg-moder/releases/latest)
[](https://github.com/jtprogru/py-tg-moder/)
[](https://github.com/jtprogru/py-tg-moder/wiki)
Бот-модератор для чата [@jtprgoru_chat](https://t.me/jtprgoru_chat)
Умеет пока не так много, но начало положено.
## Documentation
Вся документация, а так же основные "хотелки на перспективу" фиксируются в [Wiki](https://github.com/jtprogru/py-tg-moder/wiki) этого проекта.
## Environment Variables
Перед запуском создать файлик `src/.env` с содержимым:
```ini
export TELEGRAM_BOT_TOKEN='1234567890:qwertyuiopHGVBNVJHVJVMNBVMNBVposdfghi'
export VERSION=0.1.2
export SENTRY_DSN="https://xxxxjkhkjahsdkjashd@o444444.ingest.sentry.io/1234567"
```
## Run locally
Развернут на домашнем Docker Swarm через [Portainer](https://portainer.io). Запустить с помощью `docker compose up -d`:
```yaml
---
version: '3.7'
services:
bot:
image: ghcr.io/jtprogru/py-tg-moder:latest
env_file:
- ./src/.env
```
## Feedback
Если случилось так, что ты начал использовать и у тебя есть фидбэк, пожалуйста создай [issues](https://github.com/jtprogru/py-tg-moder/issues) или обратись в Telegram-чат [@jtprogru_chat](https://t.me/jtprogru_chat).
## Authors
- Michael Savin
- :octocat: [@jtprogru](https://www.github.com/jtprogru)
- :bird: [@jtprogru](https://www.twitter.com/jtprogru)
- :moneybag: [savinmi.ru](https://savinmi.ru)