Skip to content

error when checking matcher #46

@midous0307

Description

@midous0307

该报错在机器人接收到消息后出现。

0|Yunzai-Bot | [PyBot][14:51:13.716][ERROR] [message]Error when checking Matcher.
0|Yunzai-Bot | Traceback (most recent call last):
0|Yunzai-Bot | > File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-4GILPm_X-py3.10\lib\site-packages\nonebot\message.py", line 457, in check_and_run_matcher
0|Yunzai-Bot | if not await _check_matcher(
0|Yunzai-Bot | File "C:\Users\Administrator\Downloads\Yunzai-Bot\plugins\py-plugin\yunzai_nonebot\hijack\message.py", line 6, in wrapper
0|Yunzai-Bot | matcher = args[0]
0|Yunzai-Bot | IndexError: tuple index out of range

尝试重新安装依赖与py插件没有解决问题。
求教大佬如何解决?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions