-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
请教群聊如何关闭默认@就自动回复,只保留关键词触发 #35
Comments
1.关闭@回复:这个暂时不支持,后续可以增加一个配置项来实现。 不过是什么场景需要 被@ 但不回复呢 |
群聊信息很多的时候,查看聊天信息时分清bot和真人很累。群友希望需要时用关键词触发,不需要时不影响正常聊天。 |
这个是项目代码里控制的,在 wechat_channel.py 中,晚点我可以加一下这个功能 |
|
@Lancenas 这两个功能还需要嘛 |
需要的!昨天小号被微信以第三方客户端冻结了,刚刚解冻。 |
功能已添加,重新拉取代码后,需要在config.json中加上两个配置, 示例如下: {
"open_ai_api_key": "YOUR API KEY",
"single_chat_prefix": ["bot", "@bot"],
"single_chat_reply_prefix": "[bot] ",
"group_chat_prefix": ["@bot"],
"group_name_white_list": ["ChatGPT测试群"],
"image_create_prefix": ["画", "看", "找一张"],
"group_at_off": true,
"group_chat_reply_prefix": "[bot] ",
} |
谢谢! |
在Linux部署代码,扫码登陆后只能在微信的“文件传输”窗口聊天,如何调出机器人放到群组里?看了说明,找不到头绪。 |
[WARNING][2023-05-01 07:55:31][wechat_message.py:68] - [WX]get other_user_id failed: 'NickName' |
请教群聊中如何关闭默认@触发回复,只保留关键词触发回复。
另外群聊机器回复最好也添加前缀,识别真人。
The text was updated successfully, but these errors were encountered: