Skip to content

[Bug]适配器重复回复内容 #7259

@LingLu1833

Description

@LingLu1833

What happened / 发生了什么

当我尝试关闭后重新打开机器人的适配器多次时,与机器人对话就会收到重复的消息,机器人也会重复的回复

Reproduce / 如何复现?

1.关闭机器人适配器
2.重新打开机器人适配器
3.在手机上向机器人发送消息
4.适配器多次收到同一个消息
5.机器人多次回复同一个消息

AstrBot version, deployment method (e.g., Windows Docker Desktop deployment), provider used, and messaging platform used. / AstrBot 版本、部署方式(如 Windows Docker Desktop 部署)、使用的提供商、使用的消息平台适配器

Ubuntu 22.04.5 LTS
Python 3.10.12
源码直接运行python main.py
AstrBot v4.22.2

OS

Linux

Logs / 报错日志

Image

Image

Are you willing to submit a PR? / 你愿意提交 PR 吗?

  • Yes!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platformThe bug / feature is about IM platform adapter, such as QQ, Lark, Telegram, WebChat and so on.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions