机器人对打
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 422
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
预期动作
判断对方的行为,决策是否主动应答。
当前动作
当别的自动回复机器人和本机器人加为好友时,会分别触发双方的自动应答机制,从而造成机器人对打,然后会造成发送消息频率过快,从而被系统禁言。
可能的解决方案
- 限制自动回复频率,比如自动回复三次后,在一小时内不再回复自动应答
- 判断对方的语句是不是一样,如果是同样的话重复,则不予以应答
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 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