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

Wechat module crashed after sending messages in web. #72

Open
simonsmh opened this issue Jun 11, 2017 · 1 comment
Open

Wechat module crashed after sending messages in web. #72

simonsmh opened this issue Jun 11, 2017 · 1 comment

Comments

@simonsmh
Copy link
Contributor

Traceback (most recent call last):
File "/root/fishroom/fishroom/runner.py", line 37, in wrapper
f(*args, **kwargs)
File "/root/fishroom/fishroom/wechat.py", line 230, in Fishroom2WechatThread
myid_chn = config[msg.channel].get("me")
KeyError: 'web'
@mytbk

@mytbk
Copy link
Contributor

mytbk commented Jun 12, 2017

呃,当初测试的时候没试过web端。
是这样的,我当时写这个的考虑是我会拿自己的微信号来做机器人,所以希望我自己的{Matrix,XMPP,...}发消息的时候机器人不会加一个[username]的串,所以才会考虑用config[channel]['me']这个属性。

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

No branches or pull requests

2 participants