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

Implement adapter between itchat and python-wechaty #31

Merged
merged 2 commits into from
Nov 5, 2021

Conversation

wj-Mcat
Copy link
Collaborator

@wj-Mcat wj-Mcat commented Oct 15, 2021

After review the itchat code, the configured_reply func is the core function fetching the message & event. And calling the async function in sync function with run_until_complete method which can fix the calling problem.

ding dong handling is ok now, but there are also some basic problem in this issue, eg: message container.
@lyleshaw you can clone this pr to check out the detail, and you can get the final solution.

@wj-Mcat wj-Mcat changed the title Impment adapter between itchat and python-wechaty Implement adapter between itchat and python-wechaty Oct 15, 2021
@wj-Mcat
Copy link
Collaborator Author

wj-Mcat commented Oct 16, 2021

To Fix:

@@ -9,3 +9,4 @@ wechaty~=0.8.25
loguru
node-semver~=0.8.1
setuptools~=58.2.0
itchat-uos
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's so great to see we have a dependency on Itchat UOS!

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I have made a small ding-dong receiving & sending code, and there are more details to be improved. I will complete it at next few weeks. ( No time to write code 😩 😩 😩 )

@lyleshaw
Copy link
Member

I’m so sorry that I haven’t reviewed this PR for a long time due to so many things in the school.
I will start working on the adapter from today.

@huan
Copy link
Member

huan commented Nov 4, 2021

Is this PR has any update?

I'd like to see it to be merged soon, thanks!

@lyleshaw lyleshaw merged commit 1554bd8 into wechaty:main Nov 5, 2021
@wj-Mcat wj-Mcat deleted the itchat-adapter branch November 14, 2021 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants