1|zhenxun-bot | 02-17 00:33:58 [ERROR] nonebot | Running AlconnaMatcher(type='', command=Alconna::switch, module=zhenxun.builtin_plugins.admin.plugin_switch.command, lineno=13) failed.
1|zhenxun-bot | Traceback (most recent call last):
1|zhenxun-bot | File "/home/Bot/zhenxun_bot/bot.py", line 58, in <module>
1|zhenxun-bot | nonebot.run()
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/__init__.py", line 337, in run
1|zhenxun-bot | get_driver().run(*args, **kwargs)
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/drivers/fastapi.py", line 187, in run
1|zhenxun-bot | uvicorn.run(
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/uvicorn/main.py", line 580, in run
1|zhenxun-bot | server.run()
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/uvicorn/server.py", line 67, in run
1|zhenxun-bot | return asyncio.run(self.serve(sockets=sockets))
1|zhenxun-bot | File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
1|zhenxun-bot | return loop.run_until_complete(main)
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/utils.py", line 259, in run_coro_with_shield
1|zhenxun-bot | return await coro
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/message.py", line 508, in check_and_run_matcher
1|zhenxun-bot | await _run_matcher(
1|zhenxun-bot | > File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/message.py", line 460, in _run_matcher
1|zhenxun-bot | await matcher.run(bot, event, state, stack, dependency_cache)
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/internal/matcher/matcher.py", line 926, in run
1|zhenxun-bot | await self.simple_run(bot, event, state, stack, dependency_cache)
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/internal/matcher/matcher.py", line 863, in simple_run
1|zhenxun-bot | await handler(
1|zhenxun-bot | File "/root/.cache/pypoetry/virtualenvs/zhenxun-bot-DyjqgOkV-py3.10/lib/python3.10/site-packages/nonebot/dependencies/__init__.py", line 113, in __call__
1|zhenxun-bot | return await cast(Callable[..., Awaitable[R]], self.call)(**values)
1|zhenxun-bot | File "/home/Bot/zhenxun_bot/zhenxun/builtin_plugins/admin/plugin_switch/__init__.py", line 123, in _
1|zhenxun-bot | name = plugin_name.result.strip()
1|zhenxun-bot | AttributeError: type object '_empty' has no attribute 'strip'
提交前检查项
操作系统
Linux
Python 版本
3.10
zhenxun_bot 版本
最新commit
适配器
v11
协议端
napcat-docker:v4.17.10
描述问题
使用超级用户命令
开启全部群被动时候报错复现步骤
如上,多适配器
期望的结果
No response
截图或日志(请勿包含敏感信息如密码、令牌等)
No response