Closed XuanXue2008 closed 3 months ago
既然防火墙开启了,关闭就行
防火墙对应端口开启了也还是报这个
链接问题解决了
QQ ---> MC 又有新的问题了
08-20 21:02:30 [ERROR] nonebot | Running Matcher(type='message', module=nonebot_plugin_mcqq.minecraft_msg, lineno=14) failed.
Traceback (most recent call last):
File "
File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/message.py", line 428, in _run_matcher await matcher.run(bot, event, state, stack, dependency_cache) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 850, in run await self.simple_run(bot, event, state, stack, dependency_cache) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/matcher/matcher.py", line 825, in simple_run await handler( File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/dependencies/init.py", line 94, in call return await cast(Callable[..., Awaitable[R]], self.call)(values) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot_plugin_mcqq/minecraft_msg.py", line 29, in handle_mc_msg await send_mc_msg_to_qq(event.server_name, msg_result) File "/root/bot/mc/.venv/lib/python3.12/site-packages/mcqq_tool/send_to_qq.py", line 46, in send_mc_msg_to_qq await bot.send_to_channel( File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 365, in send_to_channel return await self.post_messages( File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 122, in call_api raise exception File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/internal/adapter/bot.py", line 97, in call_api result = await self.adapter._call_api(self, api, data) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/adapter.py", line 423, in _call_api return await api_handler(bot, *data) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/utils.py", line 64, in call return await self.func(inst, args, **kwds) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 1004, in post_messages return type_validate_python(GuildMessage, await self._request(request)) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 551, in _request return self._handle_response(response) File "/root/bot/mc/.venv/lib/python3.12/site-packages/nonebot/adapters/qq/bot.py", line 540, in _handle_response raise ActionFailed(response) nonebot.adapters.qq.exception.ActionFailed: <ActionFailed: 500, code=304023, message=push message is waiting for audit now, data={'message_audit': {'audit_id': '6a0cf516-e04a-43b4-9716-0e82cb0eb979'}}, trace_id=2d650b0efeda737ea8298d40a65b470c>
这是QQ适配器的异常,push message is waiting for audit now
意思为:推送消息正在等待审核,另外这段日志是MC-》QQ的消息出现异常
不会是因为这个吧
感谢已解决!
请问一下能否像"/say 你好"这样的格式 不然其他命令无法使用
不能,泛命令可能会阻断其他插件的信息
互通导致其他命令无法使用
暂未解决,等待更新,或者手动更新插件命令的优先级
如何更改该插件的优先级呢?
更改插件的init.py?
运行环境
almalinux9.4
NB插件及版本号
nonebot cli version 1.4.1
MC插件及版本号
1.21.1 QueQiao-spigot+1.13-0.0.2
错误描述
看不懂wiki文件配置🙌😭
报错日志(如果有)