LCTT / LCTT/LCBot

机器人对打

Open
#20 0 comments 0 reactions 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. 判断对方的语句是不是一样,如果是同样的话重复,则不予以应答

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 file or test is named. Start by locating the automatic-reply flow and how messages from other bots are handled; choose and define one loop-prevention behavior from the proposed solutions, then verify that repeated bot exchanges stop without excessive message sending.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.