fishroom icon indicating copy to clipboard operation
fishroom copied to clipboard

Wechat module crashed after sending messages in web.

Open simonsmh opened this issue 7 years ago • 1 comments

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

simonsmh avatar Jun 11 '17 15:06 simonsmh

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

mytbk avatar Jun 12 '17 00:06 mytbk