zeruniverse / QQRobot

QQBot, QQ机器人(群聊小黄鸡) LINUX挂机版, SmartQQ协议。
Other
761 stars 236 forks source link

查看了群聊无反应代码原因 #33

Closed hjm8688098 closed 7 years ago

hjm8688098 commented 7 years ago

你好。QQRobot还是群聊问题没有反应,群名输入按要求格式的,然后我输出了第185行的判断句,发现str(gid)是代表群号,但是GroupWatchList组里面不是存的群号,就不会出现匹配情况,是不是这儿有问题

zeruniverse commented 7 years ago

Please refer to LN 753. GroupWatchList is exactly the list of all group ids. The Python script first reads all group names and append the gid of the group in groupfollow.txt to GroupWatchList.

zeruniverse commented 7 years ago

I think the group name is mistyped. It's very likely if the group name involves some special characters. You could try some groups with simple group name (e.g. only consists of numbers and English letters) and see whether the script works. I tried this script myself and I input exactly the group name in the txt file.