Skip to content

Commit

Permalink
✨ feat(controller): Add photo and document handling in group chats
Browse files Browse the repository at this point in the history
- Added logic to handle photo and document messages in group chats.
- Implemented image censorship using the pipeline_pass function.
- If an image is detected as potentially illegal, the bot will delete the message and warn the user.
- Added a command /report to report spam messages and perform image censorship on the replied message.
- Implemented checks for settings.rules and settings.mode to determine whether to perform censorship.
  • Loading branch information
sudoskys committed Jan 21, 2024
1 parent ede085b commit de55bae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ Identify child pornography and Ban them on Telegram Group.
## Usage

```shell
git clone
cd
git clone https://github.com/TelechaBot/anti-hentai-bot
cd anti-hentai-bot
cp .env.exp .env
nano .env
```
Expand Down

0 comments on commit de55bae

Please sign in to comment.