chore: update requirements and config-template

This commit is contained in:
lanvent
2023-04-09 16:16:54 +08:00
parent 8779eab36b
commit 6bd1242d43
5 changed files with 5 additions and 4 deletions

View File

@@ -147,6 +147,8 @@ class WechatChannel(ChatChannel):
if conf().get('speech_recognition') != True:
return
logger.debug("[WX]receive voice for group msg: {}".format(cmsg.content))
elif cmsg.ctype == ContextType.IMAGE:
logger.debug("[WX]receive image for group msg: {}".format(cmsg.content))
else:
# logger.debug("[WX]receive group msg: {}, cmsg={}".format(json.dumps(cmsg._rawmsg, ensure_ascii=False), cmsg))
pass