AutumnWhj / ChatGPT-wechat-bot

ChatGPT for wechat https://github.com/AutumnWhj/ChatGPT-wechat-bot
MIT License
4.68k stars 981 forks source link

Content is not within the scope of the customizition format #48

Open 624067008 opened 1 year ago

624067008 commented 1 year ago

image

624067008 commented 1 year ago

懂了

AutumnWhj commented 1 year ago

你好 检查一直这两个配置,为空则不限制。

image
624067008 commented 1 year ago

嗯 知道了 谢谢你

Hunter-0x07 commented 1 year ago

我也遇到这个问题,我向自己发消息,也没有回复呢?是我token不对吗?

Hunter-0x07 commented 1 year ago

token不对的话有提示吗?

Hunter-0x07 commented 1 year ago

那两个配置我也填为空了

624067008 commented 1 year ago

你把lib删了 重新npm run dev

624067008 commented 1 year ago

@Hunter-0x07

Hunter-0x07 commented 1 year ago

hao

Hunter-0x07 commented 1 year ago

hao

Hunter-0x07 commented 1 year ago

Group name: 永劫开黑 talker: Xxx content: 你先吃几天的 Content is not within the scope of the customizition format Group name: 永劫开黑 talker: Xxx content: 两三天的就到了 Content is not within the scope of the customizition format

Hunter-0x07 commented 1 year ago

还是一样的

SnapdragonLee commented 1 year ago

还是一样的

重启服务了没

Hunter-0x07 commented 1 year ago

嗯,重启了,npm run dev

SnapdragonLee commented 1 year ago

嗯,重启了,npm run dev

我回去检查一下代码,好像不只是您一个人出现这个问题

DarkTan commented 1 year ago

顺路问一下,为啥重启后持续就几分钟可以响应,然后就必须又重启…

Hunter-0x07 commented 1 year ago

话说token应该会过期吧?

Hunter-0x07 commented 1 year ago

是的,会过期,应该是一天,我看其他问题里的回复了~

Hunter-0x07 commented 1 year ago

私聊的是可以回复的,群聊的就有问题了

AutumnWhj commented 1 year ago

@Hunter-0x07 您好 你也是这样子@机器人吗?

image
spaidermfg commented 1 year ago

我也遇到这个问题了

spaidermfg commented 1 year ago
截屏2022-12-10 23 31 39

看这块的代码应该是问问题得加上privateKey吧,比如我的privateKey是box,问问题就得是: "box明天吃什么?"

624067008 commented 1 year ago

没错

spaidermfg commented 1 year ago
截屏2022-12-10 23 40 56

验证了确实是这样,readme示例有点误导,建议作者修改一下example或者优化一下这块代码的逻辑

Hunter-0x07 commented 1 year ago

@AutumnWhj 不是,我的都没有任何回复

Hunter-0x07 commented 1 year ago

不对,你@我了

Hunter-0x07 commented 1 year ago

我试试@一下

Hunter-0x07 commented 1 year ago

还是没用

Hunter-0x07 commented 1 year ago

坐等修bug

zyang9 commented 1 year ago

改好config,重新build一下就好了。

SnapdragonLee commented 1 year ago

坐等修bug

看了一下了,正则有点问题,一会提交pull request

ivil commented 1 year ago

群聊有问题啊,关键词为空,@我之后,没有回复消息

decadez commented 1 year ago

坐等修复 Content is not within the scope of the customizition format, (tip: 某些群组是这样的

decadez commented 1 year ago

我发现只有在群聊备注昵称才会出现这个错误

SnapdragonLee commented 1 year ago

坐等修复 Content is not within the scope of the customizition format, (tip: 某些群组是这样的

没有办法获得自己在群里的昵称,所以没有办法去替换 如果自己的群昵称和名字一样,且有唤醒群聊机器人关键字存在且有bug的,可以试试我的pull request中的正则表达式

本人目前在北京发烧39.徘徊(烧得天昏地暗),没有更多精力修bug,希望大家一起贡献代码,一起完善功能