Skip to content
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

[Bug]同一机器人实例下同一QQ在不同公会间的nickname相互覆盖 #80

Open
cca2878 opened this issue Apr 24, 2023 · 2 comments

Comments

@cca2878
Copy link

cca2878 commented Apr 24, 2023

比如:
QQ号114514同时在群A和群B中,在群A中该QQ的群名片为“田所”,在群B中该QQ的群名片为“浩二”。然后在同一个yobot实例下,该QQ先后加入了群A对应的公会A和群B对应的公会B。那么无论在群A公会中还是在群B公会中该QQ的nickname均会显示为最后加入的公会对应的群中的群名片,此例中即为群B中该QQ的群名片“浩二”。

修起来应该不复杂,但是要动数据结构,不敢保证和以前数据的兼容性。

@eggggi
Copy link
Owner

eggggi commented Apr 24, 2023

改起来不难,这个也是历史遗留问题了,原版yobot就这样。
关于数据的问题倒不用担心,在ybdata.py文件可以修改版本号并添加兼容新的数据库结构,就是我一直懒得改而已_(:з)∠)_

@cca2878
Copy link
Author

cca2878 commented Apr 24, 2023

改起来不难,这个也是历史遗留问题了,原版yobot就这样。 关于数据的问题倒不用担心,在ybdata.py文件可以修改版本号并添加兼容新的数据库结构,就是我一直懒得改而已_(:з)∠)_

那我挂树等合刀的时候研究研究数据库看看能不能搓一个出来()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants