Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update reply image && Add reply URL#234

Open
shiyu22 wants to merge 3 commits into
wechaty:main from
shiyu22:master
Open

Update reply image && Add reply URL #234
shiyu22 wants to merge 3 commits into
wechaty:main from
shiyu22:master

Conversation

@shiyu22

@shiyu22 shiyu22 commented Jul 12, 2021

Copy link
Copy Markdown

Calling msg.say(hd_file_box) will report an error Wechaty - ERROR - internal error <'utf-8' codec can't decode byte 0xff in position 0: invalid start byte>, but reading the image from local file will fix it.

Also, added an example to the reply URL, vaild for WeChat articles.

@shiyu22 shiyu22 requested a review from a team as a code owner July 12, 2021 07:00

CLAassistant commented Jul 12, 2021
edited
Loading

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@wj-Mcat wj-Mcat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

You find the problem:

Calling msg.say(hd_file_box) will report an error `Wechaty - ERROR - internal error <'utf-8' codec can't decode byte 0xff in position 0: invalid start byte>`, but reading the image from local file will fix it.
Also, added an example to the reply URL, vaild for WeChat articles.

Can you find the reason of this problem or post another pr to fix it ? Hoping your futher work.

Comment thread examples/ding-dong-bot-oop.py

huan commented Jul 12, 2021

Copy link
Copy Markdown
Member

Link to wechaty/PMC#16

@wj-Mcat wj-Mcat left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

There are many strict code style, which is crucial for wechaty opensource community.

Comment thread examples/ding-dong-bot-oop.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@wj-Mcat wj-Mcat wj-Mcat requested changes

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /