根据关键词,移除用户
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 422
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
根据用户发送的内容,结合关键词判读是否为广告,如果是广告直接移除,不需要管理员移除@他
一,根据关键词自动移除用户
步骤:
1,判读用户发送内容是否包含 设置好的一个或多个关键词,例如:广告,联系 等
2,判断成功机器人自动移除
二,黑名单功能
步骤:
1,移除的用户都加入黑名单
2,下次再进来自动移除
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by locating the bot's message-handling and user-removal entry points, then trace where configurable keywords and persistent user state could be handled; done means matching configured keywords removes the user and removed users are automatically removed again when they rejoin.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100