LCTT / LCTT/LCBot

根据关键词,移除用户

Open
#29 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.