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 de55bae commit e99b5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pm2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"apps": [
{
"name": "telegrambot",
"name": "anti-lolicon-bot",
"script": "pdm run python3 main.py",
"instances": 1,
"max_restarts": 3,
Expand Down

0 comments on commit e99b5b9

Please sign in to comment.