HibiKier / zhenxun_bot

基于 Nonebot2 开发,非常可爱的绪山真寻bot
GNU Affero General Public License v3.0
3.34k stars 605 forks source link

请问如何让一个群禁用机器人或者启用机器人 #368

Closed XKaguya closed 2 years ago

XKaguya commented 2 years ago

如图,尝试过白名单,启用没效果,感觉可能是默认进群总开关的问题,进那个群之前是false的,之后我改成true无果。 甚至尝试过9级权限,依旧没用。 日志如下 05-19 04:30:32 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -136482348 from 2894832693@[群:108270499] "色图"

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False>

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False>

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False>

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False>

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False>

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False>

05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False>

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running is cancelled

05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running is cancelled

05-19 04:30:42 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message 1859395694 from 2894832693@[群:108270499] "《逝逝》"

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False>

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False>

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False>

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False>

05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False>

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False>

05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False>

HibiKier commented 2 years ago

文档

XKaguya commented 2 years ago

如果是指 添加群认证的话,我后来添加了,照样是提示Cancelled。 能否稍微指示一下是哪个选项?或者功能?

HibiKier commented 2 years ago

并不是群认证,进群真寻默认都是开启状态的,你可以试试 "醒来" 这个命令,或看看群权限

XKaguya commented 2 years ago

好的,我试试,谢谢大佬

XKaguya commented 2 years ago

尝试了下,依旧不行,甚至没任何反应

XKaguya commented 2 years ago

我今天看了下go-cqhttp的日志,发现有的时候它是已经发送了消息但是QQ不显示,有的时候是收到了消息但是根本没反应

XKaguya commented 2 years ago

在快速更新群信息以及权限中也不存在后续加入的群

HibiKier commented 2 years ago

个人权限是定时自动刷的,也可以手动操作,@真寻添加权限 @xxx 5(权限等级)

XKaguya commented 2 years ago

可是默认管理员不是5级么,在群里甚至帮助都叫不出来,超级用户也是,只有色图指令能触发,还挺离谱的

HibiKier commented 2 years ago

你看看你群权限,我感觉只有 休息吧和 群权限-1,超级用户是不受权限阻挡的,发不出来要看具体日志

XKaguya commented 2 years ago

我群权限设置的9级

XKaguya commented 2 years ago

05-19 04:30:27 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -2133180094 from 2331532843@[群:108270499] "试试" 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 04:30:27 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:27 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:32 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -136482348 from 2894832693@[群:108270499] "色图" 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 04:30:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:32 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message 1859395694 from 2894832693@[群:108270499] "《逝逝》" 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message 433262840 from 2331532843@[群:108270499] "xs" 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running is cancelled 05-19 04:30:42 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running is cancelled

XKaguya commented 2 years ago

05-19 18:19:48 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:19:48 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:19:48 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:19:48 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:19:48 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:19:48 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete 05-19 18:19:49 [INFO] nonebot | Event will be handled by <Matcher from plugins.sendsetu.send_setu, type=message, priority=5, temp=False> 05-19 18:19:49 [INFO] plugins | get_setu_url: count --> 0 05-19 18:19:49 [INFO] plugins | search_online_setu --> 0 05-19 18:19:52 [INFO] utils | 下载 https://i.pixiv.re/img-original/img/2020/08/11/19/02/23/83605634_p0.png 成功.. Path:/home/zhenxun_bot/resources/temp/73895_temp_setu.jpg 05-19 18:19:52 [INFO] plugins | 下载 lolicon 图片 https://i.pixiv.re/img-original/img/2020/08/11/19/02/23/83605634_p0.png 成功, id:73895 05-19 18:19:52 [INFO] plugins | (USER 2331532843, GROUP private) 发送色图 73895.png 05-19 18:19:53 [INFO] nonebot | Matcher <Matcher from plugins.sendsetu.send_setu, type=message, priority=5, temp=False> running complete 05-19 18:19:53 [INFO] plugins | 色图数据自动存储数据库成功...

XKaguya commented 2 years ago

第二个是正常发送的,第一个是不行的 但是第一个我超管权限可以

XKaguya commented 2 years ago

是2个群,但是都是9级权限,都是管理员

XKaguya commented 2 years ago

而且不知道为什么2个群的帮助都呼不出来,即使是我自己也不行

XKaguya commented 2 years ago

05-19 18:51:29 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -1446154870 from 2331532843@[群:769918159] "/帮助" 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete /帮助 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 18:51:29 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 18:51:29 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete

我呼叫帮助 在群里 05-19 18:53:10 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.private.friend]: Message -1418833094 from 2331532843 "/帮助" 05-19 18:53:10 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:53:10 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:53:10 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:53:11 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.help, type=message, priority=1, temp=False> 05-19 18:53:11 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:53:11 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:53:11 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete 05-19 18:53:11 [INFO] nonebot | Matcher <Matcher from basic_plugins.help, type=message, priority=1, temp=False> running complete 私聊就没问题了

HibiKier commented 2 years ago

醒来 命令也不行吗

XKaguya commented 2 years ago

是的 醒来提示已经醒来

XKaguya commented 2 years ago

05-19 18:53:56 [INFO] basic_plugins | USER 2331532843 GROUP 719493686 使用总开关命令:醒来 05-19 18:53:56 [INFO] nonebot | Matcher <Matcher from basic_plugins.admin_bot_manage.switch_rule, type=message, priority=5, temp=False> running complete 05-19 18:54:00 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -210951348 from 183409031@[群:831196839] "[CQ:image,file=c61b00569b2747fe249f80ab4689f20a.image,url=https://gchat.qpic.cn/gchatpic_new/183409031/831196839-3197021226-C61B00569B2747FE249F80AB4689F20A/0?term=2,subType=0]" 05-19 18:54:00 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:54:00 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:54:00 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:54:01 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete [CQ:image,file=c61b00569b2747fe249f80ab4689f20a.image] 05-19 18:54:01 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 18:54:01 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 18:54:01 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 18:54:01 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete 05-19 18:54:06 [INFO] utils | 下载 https://gchat.qpic.cn/gchatpic_new/183409031/831196839-3197021226-C61B00569B2747FE249F80AB4689F20A/0?term=2 成功.. Path:/home/zhenxun_bot/resources/temp/compare_831196839_img.jpg 05-19 18:54:06 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 18:54:07 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -1607572567 from 2331532843@[群:719493686] "/帮助" 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete /帮助 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 18:54:07 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 18:54:07 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete 05-19 18:54:12 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -2073422886 from 183409031@[群:831196839] "罚瓜瓜520和居委会一块过()" 05-19 18:54:12 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:54:12 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:54:12 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:54:12 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:54:12 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:54:12 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:54:12 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete

HibiKier commented 2 years ago

你把data/manage 删了重启试试

XKaguya commented 2 years ago

好的 我试试

XKaguya commented 2 years ago

也没效果,我接了一条修改群权限到9级也不理我的帮助命令

XKaguya commented 2 years ago

05-19 18:57:01 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.private.friend]: Message -1409050845 from 2331532843 "/修改群权限 719493686 9" 05-19 18:57:01 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:57:01 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:57:01 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:57:01 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.super_cmd.manager_group, type=message, priority=1, temp=False> 05-19 18:57:01 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:57:01 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:57:01 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete 05-19 18:57:01 [INFO] basic_plugins | 2331532843 修改了 719493686 的权限:9 05-19 18:57:01 [INFO] nonebot | Matcher <Matcher from basic_plugins.super_cmd.manager_group, type=message, priority=1, temp=False> running complete 05-19 18:57:05 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message -916478361 from 2331532843@[群:719493686] "/帮助" 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete /帮助 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 18:57:05 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 18:57:05 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete 05-19 18:57:36 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message 1347876829 from 2331532843@[群:719493686] "帮助" 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete 帮助 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 18:57:36 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 18:57:36 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 18:57:37 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete

查看了一下go-cqhttp的日志,好像没有发送 [2022-05-19 18:57:01] [INFO]: 发送群 泡泡、辉夜(719493686) 的消息: 管理员修改了此群权限 ... (-1101490447) [2022-05-19 18:57:05] [INFO]: 收到群 泡泡、辉夜(719493686) 内 辉夜(2331532843) 的消息: /帮助 (-916478361) [2022-05-19 18:57:36] [INFO]: 收到群 泡泡、辉夜(719493686) 内 辉夜(2331532843) 的消息: 帮助 (1347876829)

XKaguya commented 2 years ago

并且删除了那个文件后,basic_plugins更新的依旧只有2个群的信息及权限

HibiKier commented 2 years ago

,@真寻 再发 帮助

XKaguya commented 2 years ago

这个能用,但是不全,只有这么点 小真寻内置多种功能,通过发送命令可执行特殊操作 ★★ 示例 ★★  查询天气预报信息,示例:天气 深圳 手机、IP地址归属,示例:归属 手机或IP    邮政编码及地区查询:邮编 514000   计算简单的算术,示例:计算 15+13    查询成语介绍,示例:成语 一心一意 按歌曲名称查询歌词,示例:歌词 歌曲名称   中译英、英译中,示例:翻译 i love you  查询星座今日运势,示例:星座 天秤座  查询星座介绍请直接发送:天秤座 汉字五笔拼音笔画查询示例:礡字   想看笑话,请直接发送:笑话 基本上所有插件都没显示在里面

XKaguya commented 2 years ago

用倒是能用

HibiKier commented 2 years ago

这丑陋的帮助,很明显不能用,你看看你插件加载报错没

XKaguya commented 2 years ago

05-19 19:07:41 [ERROR] nonebot | Failed to import "web_ui" Traceback (most recent call last):

File "bot.py", line 14, in nonebot.load_plugins("plugins") │ └ <function load_plugins at 0x7f552bbf4c10> └ <module 'nonebot' from '/usr/local/lib/python3.8/dist-packages/nonebot/init.py'>

File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/load.py", line 39, in load_plugins return manager.load_all_plugins() │ └ <function PluginManager.load_all_plugins at 0x7f552bbee790> └ <nonebot.plugin.manager.PluginManager object at 0x7f552a3188e0>

File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 128, in load_all_plugins return set(

File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 129, in filter(None, (self.load_plugin(name) for name in self.list_plugins())) │ │ │ │ │ └ <function PluginManager.list_plugins at 0x7f552bbee670> │ │ │ │ └ <nonebot.plugin.manager.PluginManager object at 0x7f552a3188e0> │ │ │ └ 'web_ui' │ │ └ 'web_ui' │ └ <function PluginManager.load_plugin at 0x7f552bbee700> └ <nonebot.plugin.manager.PluginManager object at 0x7f552a3188e0>

File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 106, in load_plugin module = importlib.import_module( │ └ <function import_module at 0x7f552d640280> └ <module 'importlib' from '/usr/lib/python3.8/importlib/init.py'>

File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) │ │ │ │ │ └ 0 │ │ │ │ └ None │ │ │ └ 0 │ │ └ 'plugins.web_ui' │ └ <function _gcd_import at 0x7f552d761430> └ <module 'importlib._bootstrap' (frozen)> File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked

File "/usr/local/lib/python3.8/dist-packages/nonebot/plugin/manager.py", line 194, in exec_module super().exec_module(module) └ <module 'plugins.web_ui' from '/home/zhenxun_bot/plugins/web_ui/init.py'>

File "", line 848, in exec_module File "", line 219, in _call_with_frames_removed

File "/home/zhenxun_bot/plugins/web_ui/init.py", line 2, in from .api import *

File "/home/zhenxun_bot/plugins/web_ui/api/init.py", line 1, in from .group import *

File "/home/zhenxun_bot/plugins/web_ui/api/group.py", line 6, in from ..auth import Depends, User, token_to_user

File "/home/zhenxun_bot/plugins/web_ui/auth/init.py", line 8, in from jose import JWTError, jwt

File "/usr/local/lib/python3.8/dist-packages/jose.py", line 546 print decrypt(deserialize_compact(jwt), {'k':key}, ^

SyntaxError: invalid syntax

唯一的报错是因为我没安webui

HibiKier commented 2 years ago

除了帮助其他命令可用吗

XKaguya commented 2 years ago

只有色图

HibiKier commented 2 years ago

其他的,比如 鲁迅说 之类的?都不行?

XKaguya commented 2 years ago

鲁迅说可以

HibiKier commented 2 years ago

其他群员应该也可以吧,只有 帮助 不行?

XKaguya commented 2 years ago

鲁迅说都能用 但是帮助不行

XKaguya commented 2 years ago

貌似除了帮助好像都行

MingxuanGame commented 2 years ago

webui 的问题参考 https://github.com/HibiKier/zhenxun_bot/issues/267

XKaguya commented 2 years ago

可是这个不是webui的问题我觉得

HibiKier commented 2 years ago

可是这个不是webui的问题我觉得

应该只是顺带解决一下webui的错误,help插件私聊有应该是成功加载了,呃,这个问题如何复现?只是普通的加载没有任何修改就这样了吗?

XKaguya commented 2 years ago

不太清楚,我就是用那个一键部署的脚本部署后发现少了一万个模块一个一个安装就这样了 其他没多余的操作

HibiKier commented 2 years ago

你在群里 @真寻发帮助 发一下日志

XKaguya commented 2 years ago

好的

XKaguya commented 2 years ago

05-19 19:32:36 [INFO] plugins | USER 2331532843 GROUP 769918159 问题:帮助 ---- 回答:小真寻内置多种功能,通过发送命令可执行特殊操作 ★★ 示例 ★★  查询天气预报信息,示例:天气 深圳 手机、IP地址归属,示例:归属 手机或IP    邮政编码及地区查询:邮编 514000   计算简单的算术,示例:计算 15+13    查询成语介绍,示例:成语 一心一意 按歌曲名称查询歌词,示例:歌词 歌曲名称   中译英、英译中,示例:翻译 i love you  查询星座今日运势,示例:星座 天秤座  查询星座介绍请直接发送:天秤座 汉字五笔拼音笔画查询示例:礡字   想看笑话,请直接发送:笑话 05-19 19:32:36 [INFO] nonebot | Matcher <Matcher from plugins.ai, type=message, priority=8, temp=False> running complete

[2022-05-19 19:32:32] [INFO]: 收到群 中国四划客(769918159) 内 辉夜(2331532843) 的消息: [CQ:at,qq=3134562597] 帮助 (1405435181) [2022-05-19 19:32:36] [INFO]: 发送群 中国四划客(769918159) 的消息: [{"type": ... (616697275)

HibiKier commented 2 years ago

发全一点,从你发 帮助 那条日志开始

XKaguya commented 2 years ago

05-19 19:32:32 [SUCCESS] nonebot | ONEBOT V11 3134562597 | [message.group.normal]: Message 1405435181 from 2331532843@[群:769918159] "帮助" 05-19 19:32:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.black_word, type=message, priority=1, temp=False> 05-19 19:32:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.mute, type=message, priority=1, temp=False> 05-19 19:32:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> 05-19 19:32:32 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> 05-19 19:32:32 [INFO] nonebot | Matcher <Matcher from plugins.black_word, type=message, priority=1, temp=False> running complete 05-19 19:32:32 [INFO] nonebot | Matcher <Matcher from plugins.mute, type=message, priority=1, temp=False> running complete 05-19 19:32:32 [INFO] nonebot | Matcher <Matcher from plugins.parse_bilibili_json, type=message, priority=1, temp=False> running complete 05-19 19:32:32 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete 05-19 19:32:32 [INFO] nonebot | Event will be handled by <Matcher from plugins.ai, type=message, priority=8, temp=False> 05-19 19:32:36 [INFO] plugins | USER 2331532843 GROUP 769918159 问题:帮助 ---- 回答:小真寻内置多种功能,通过发送命令可执行特殊操作 ★★ 示例 ★★  查询天气预报信息,示例:天气 深圳 手机、IP地址归属,示例:归属 手机或IP    邮政编码及地区查询:邮编 514000   计算简单的算术,示例:计算 15+13    查询成语介绍,示例:成语 一心一意 按歌曲名称查询歌词,示例:歌词 歌曲名称   中译英、英译中,示例:翻译 i love you  查询星座今日运势,示例:星座 天秤座  查询星座介绍请直接发送:天秤座 汉字五笔拼音笔画查询示例:礡字   想看笑话,请直接发送:笑话 05-19 19:32:36 [INFO] nonebot | Matcher <Matcher from plugins.ai, type=message, priority=8, temp=False> running complete 05-19 19:32:39 [INFO] basic_plugins | 快速更新群信息以及权限:769918159 05-19 19:32:39 [INFO] basic_plugins | 快速更新群信息以及权限:831196839

HibiKier commented 2 years ago

@真寻 详细帮助 呢

XKaguya commented 2 years ago

05-19 19:37:33 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete [CQ:at,qq=3134562597] 详细帮助 05-19 19:37:33 [INFO] nonebot | Event will be handled by <Matcher from plugins.ai, type=message, priority=8, temp=False> 05-19 19:37:36 [INFO] plugins | USER 2331532843 GROUP 769918159 问题:详细帮助 ---- 回答:帮你个头 05-19 19:37:37 [INFO] nonebot | Matcher <Matcher from plugins.ai, type=message, priority=8, temp=False> running complete

XKaguya commented 2 years ago

05-19 19:38:04 [INFO] nonebot | Matcher <Matcher from basic_plugins.chat_history.chat_message, type=message, priority=1, temp=False> running complete /详细帮助 05-19 19:38:04 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> 05-19 19:38:04 [INFO] nonebot | Event will be handled by <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> 05-19 19:38:04 [INFO] nonebot | Event will be handled by <Matcher from plugins.fudu, type=message, priority=9, temp=False> 05-19 19:38:04 [INFO] nonebot | Matcher <Matcher from basic_plugins.apscheduler, type=message, priority=9, temp=False> running complete 05-19 19:38:04 [INFO] nonebot | Matcher <Matcher from plugins.fudu, type=message, priority=9, temp=False> running complete 05-19 19:38:04 [INFO] nonebot | Matcher <Matcher from basic_plugins.invite_manager, type=message, priority=9, temp=False> running complete

这个是加上我的命令前缀的

HibiKier commented 2 years ago

你自己设置了命令前缀?