Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CQ code parsing #18

Open
huan opened this issue Oct 18, 2021 · 4 comments
Open

CQ code parsing #18

huan opened this issue Oct 18, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@huan
Copy link
Member

huan commented Oct 18, 2021

The below message in QQ:

image

Will generate the below message with Puppet OICQ:

[阿布 @ QQ]: I mean in the QQ message… like this -> [CQ:at,qq=all,text=@全体成员] [CQ:face,id=187,text=幽灵]
@huan huan added the enhancement New feature or request label Oct 18, 2021
@anaivebird
Copy link
Collaborator

https://docs.go-cqhttp.org/cqcode/ could be referenced

@anaivebird
Copy link
Collaborator

废除了CQ码,不再支持用CQ码来发送各种各样的消息,收到的raw_message中也不再包含CQ码。但库中会提供一个解析CQ码到消息段的函数。

According to https://github.com/takayama-lily/oicq/projects/3#card-70995323, CQ code will not be contained in raw_message in oicq v2.x.

I think we will move to oicq v2.x to obtain upstream updates.

Maybe rich message will be shown in better format on message. Currently, wait oicq v2.x to release.

@huan
Copy link
Member Author

huan commented Oct 19, 2021

@anaivebird thank you very much for the docs link and the oicq 2.0 roadmap!

It seems that to wait and upgrade to the oicq 2.0 is a great idea, I'm looking forward to seeing its release!

BTW: as our project is heavy dependent on the great oicq project, and it looks very promising with a actively maintainer with great project management experience, could you please send an invitation to him, on behalf of the Wechaty community, to join our puppet oicq project?

It would be great if he can accept our invitation and I believe we can help developers to build better chat bots together.

@anaivebird
Copy link
Collaborator

I have sent an email to invite him.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants