https://github.com/bgelov/telegram-antismilebot
AntiSmileBot for Telegram deletes messages that contain smiles and stickers. Bot with whitelist and admin command interface.
https://github.com/bgelov/telegram-antismilebot
amazon api-gateway aws aws-dynamodb aws-dynamodb-python aws-lambda aws-lambda-python dynamodb dynamodb-table lambda lambda-functions python telegram telegram-api telegram-bot telegram-bot-api telegram-bots telegram-group-bot telegrambot webhook
Last synced: 8 months ago
JSON representation
AntiSmileBot for Telegram deletes messages that contain smiles and stickers. Bot with whitelist and admin command interface.
- Host: GitHub
- URL: https://github.com/bgelov/telegram-antismilebot
- Owner: bgelov
- License: gpl-2.0
- Created: 2023-02-06T05:11:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-28T17:14:48.000Z (over 2 years ago)
- Last Synced: 2025-01-03T15:46:42.922Z (10 months ago)
- Topics: amazon, api-gateway, aws, aws-dynamodb, aws-dynamodb-python, aws-lambda, aws-lambda-python, dynamodb, dynamodb-table, lambda, lambda-functions, python, telegram, telegram-api, telegram-bot, telegram-bot-api, telegram-bots, telegram-group-bot, telegrambot, webhook
- Language: Python
- Homepage:
- Size: 43.9 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram-AntiSmileBot
https://t.me/AntiSmileBot
Telegram Python webhook bot on AWS infrastructure (Lambda, API Gateway, DynamoDB).
AntiSmileBot deletes posts with emoticons, stickers, and files in your telegram group chats. For group chats, you'll be able to set up a whitelist with those who can send emoticons to the group and set up autoreply for messages with a smiley face.
## How it works:
0) send /start command to @AntiSmileBot.
1) add bot to the group as administrator with delete messages permission.
2) send command /initantismilebot to the group.
3) bot send you message with admin command.

### Whitelist
You can create, view and edit whitelist for you group throught bot commands.

### Autoreply
And you can view and set autoreply for deleted messages (with smiles).

You can use tags in autoreply message:
for print sender username
for print user telegram ID
And also you can use in your autoreply MarkdownV2 style (https://core.telegram.org/bots/api#markdownv2-style)