Skip to content

无法回复消息 #11

@Kevinwu901113

Description

@Kevinwu901113

报错内容如下
2022-12-15 18:23:01,002 - Wechaty - INFO - receive message <Message#message_type_text[🗣 Contact <wxid_> <> ding>
Exception in callback AsyncIOEventEmitter._emit_run..callback(<Task finishe...ot iterable")>) at C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py:65
handle: <Handle AsyncIOEventEmitter._emit_run..callback(<Task finishe...ot iterable")>) at C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py:65>
Traceback (most recent call last):
File "C:\Program Files\Python37\lib\asyncio\events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "C:\Program Files\Python37\lib\site-packages\pyee\asyncio.py", line 71, in callback
self.emit("error", exc)
File "C:\Program Files\Python37\lib\site-packages\wechaty\wechaty.py", line 332, in emit
return super().emit(event, *args, **kwargs)
File "C:\Program Files\Python37\lib\site-packages\pyee\base.py", line 179, in emit
self._emit_handle_potential_error(event, args[0] if args else None)
File "C:\Program Files\Python37\lib\site-packages\pyee\base.py", line 139, in _emit_handle_potential_error
raise error
File "dialog.py", line 252, in on_message
if text in self.hold or text[1:] in self.hold:
TypeError: argument of type 'NoneType' is not iterable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions