明确回复消息的行为
#125
Replies: 2 comments
-
听起来非常有道理,我个人感觉 OneBot 实现应该把多余的 |
Beta Was this translation helpful? Give feedback.
0 replies
-
我觉得这个是 txsb。 https://github.com/ParaParty/OneBot-Framework/blob/main/OneBot-CommandRoute/CommandRoute/Lexer/CommandLexer.cs#L85 问题就在,如果去掉这个 at,那么会不会产生其他奇怪的问题? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
从某个版本开始,qq 中回复消息会自带一个 at ,这个 at 肯定不会是大多数 onebot 实现和使用者想要的。也许应该明确一下,onebot 实现是否应该处理平台发过来的多余的 at
当然,我认为这个 at 不应该由 onebot 使用方处理,而应该由 onebot 实现来处理
举例
在 go-cqhttp 中
这样的回复和收到的消息分别为
[CQ:reply,id=-123456][CQ:at,qq=123456] 2
[CQ:reply,id=123456][CQ:at,qq=123456] [CQ:at,qq=123456] 2
Beta Was this translation helpful? Give feedback.
All reactions