Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QQ频道机器人,私信无反应 #210

Closed
TomIsFat opened this issue Nov 6, 2023 · 4 comments · Fixed by #212
Closed

QQ频道机器人,私信无反应 #210

TomIsFat opened this issue Nov 6, 2023 · 4 comments · Fixed by #212

Comments

@TomIsFat
Copy link

TomIsFat commented Nov 6, 2023

以下两段代码均handle到但是不回消息,测试过/echo,机器人可以回消息

11-06 22:45:49 [SUCCESS] nonebot | QQ XXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXX: [Text(type='text', data={'text': '/帮助'})]
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 22:45:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_)
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_) skipped
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 22:45:49 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18) running complete
11-06 22:45:49 [DEBUG] nonebot | Stop event propagation
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers completed
11-06 23:20:34 [SUCCESS] nonebot | QQ XXXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXXX: [Text(type='text', data={'text': '/登录'})]
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 4...
11-06 23:20:34 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=handle_first_receive)
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=handle_first_receive) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25) running complete
11-06 23:20:34 [DEBUG] nonebot | Stop event propagation
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers completed
@Ljzd-PRO
Copy link
Owner

Ljzd-PRO commented Nov 8, 2023

不太清楚,我这边是正常的。正常来说应该是没什么问题的,这也不是主动私聊

@byebaby
Copy link

byebaby commented Nov 10, 2023

以下两段代码均handle到但是不回消息,测试过/echo,机器人可以回消息

11-06 22:45:49 [SUCCESS] nonebot | QQ XXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXX: [Text(type='text', data={'text': '/帮助'})]
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 22:45:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_)
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_) skipped
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 22:45:49 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18) running complete
11-06 22:45:49 [DEBUG] nonebot | Stop event propagation
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers completed
11-06 23:20:34 [SUCCESS] nonebot | QQ XXXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXXX: [Text(type='text', data={'text': '/登录'})]
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 4...
11-06 23:20:34 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=handle_first_receive)
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=handle_first_receive) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25) running complete
11-06 23:20:34 [DEBUG] nonebot | Stop event propagation
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers completed

以下两段代码均handle到但是不回消息,测试过/echo,机器人可以回消息

11-06 22:45:49 [SUCCESS] nonebot | QQ XXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXX: [Text(type='text', data={'text': '/帮助'})]
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 22:45:49 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18)
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_)
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_) skipped
11-06 22:45:49 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 22:45:49 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 22:45:49 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.help, lineno=18) running complete
11-06 22:45:49 [DEBUG] nonebot | Stop event propagation
11-06 22:45:49 [DEBUG] nonebot | Checking for matchers completed
11-06 23:20:34 [SUCCESS] nonebot | QQ XXXXXXXXX | [DIRECT_MESSAGE_CREATE]: Message XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX from XXXXXXXXXXX: [Text(type='text', data={'text': '/登录'})]
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 1...
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers in priority 4...
11-06 23:20:34 [INFO] nonebot | Event will be handled by Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25)
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=handle_first_receive)
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=handle_first_receive) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [DEBUG] nonebot | Running handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),))
11-06 23:20:34 [DEBUG] nonebot | Handler Dependent(call=_, parameterless=(Depends(Dependent(call=_key_getter)),)) skipped
11-06 23:20:34 [INFO] nonebot | Matcher(type='message', module=nonebot_plugin_mystool.login, lineno=25) running complete
11-06 23:20:34 [DEBUG] nonebot | Stop event propagation
11-06 23:20:34 [DEBUG] nonebot | Checking for matchers completed

我也遇到了同样的问题,您后续有解决吗?

@TomIsFat
Copy link
Author

TomIsFat commented Nov 10, 2023 via email

Ljzd-PRO pushed a commit that referenced this issue Nov 12, 2023
@Ljzd-PRO Ljzd-PRO linked a pull request Nov 12, 2023 that will close this issue
@Ljzd-PRO
Copy link
Owner

原因即 #211 里那样。原本的 nonebot-adapter-qqguild 停止维护,迁移到了新的 nonebot-adapter-qq,现在新版本插件的依赖和导入已经改好了,nonebot机器人的配置仍然需要手动修改

https://github.com/Ljzd-PRO/nonebot-plugin-mystool/releases/tag/v1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants