Skip to content

[Feature] 关于qq官方Bot的部分参数 #6741

@MoonShadow1976

Description

@MoonShadow1976

Description / 描述

在使用过程中,会返回对机器人的at消息,即使是私聊机器人的情况下,这是不必要的。这样的操作污染了下游做其他插件对接的数据。

 [Core] [INFO] [astrbot_plugin_gscore_adapter.main:143]: [At(type=<ComponentType.At: 'At'>, qq='qq_official', name=''), Plain(type=<ComponentType.Plain: 'Plain'>, text='ww练度', convert=True)]

对应插件astrbot_plugin_gscore_adapter

 elif isinstance(msg, At):
                message.append(
                    GsMessage(
                        type="at",
                        data=str(msg.qq),
                    )
                )

这会导致我优先处理at对象qq数据的功能异常。

我不知道这里返回的qq为什么是“qq_official”。

Use Case / 使用场景

No response

Willing to Submit PR? / 是否愿意提交PR?

  • Yes, I am willing to submit a PR. / 是的,我愿意提交 PR。

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.enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions