kexue-z / nonebot-plugin-setu-now

不可以涩涩
MIT License
117 stars 19 forks source link

机器人不回复,debug信息如下 #15

Closed jesongit closed 2 years ago

jesongit commented 2 years ago
Event type <class 'nonebot.adapters.onebot.v11.event.PrivateMessageEvent'> not match annotation GroupMessageEvent, ignored
jesongit commented 2 years ago
Event type <class 'nonebot.adapters.onebot.v11.event.PrivateMessageEvent'> not match annotation GroupMessageEvent, ignored

使用的是 nonebot2,安装方式是 nb-cli 中的 nb plugin install

jesongit commented 2 years ago

Event type <class 'nonebot.adapters.onebot.v11.event.GroupMessageEvent'> not match annotation PrivateMessageEvent, ignored 试了下,群聊和私聊的类是反了么?

kexue-z commented 2 years ago

这是什么截LOG艺术,我看不懂 😥

jesongit commented 2 years ago

他就一直打印这一行,我就没截图其他的,前面是正常的加载信息

kexue-z commented 2 years ago

那前面import成功了吗

jesongit commented 2 years ago

前面的加载信息里面有这个插件,应该算成功吧?我去复制一个完整的日志

jesongit commented 2 years ago

C06)71TQN61X2AKHZL)G_65 MYJ3FE{)O WIT13PCK8YF00 第一张是前面加载配置的,后面这张分别是私聊的和群里面发的

kexue-z commented 2 years ago

有没有可能 他并不需要on_commend 他是on_regex

kexue-z commented 2 years ago

https://github.com/kexue-z/nonebot-plugin-setu-now/issues/6

jesongit commented 2 years ago

谢谢大佬,麻烦了,打扰了