存数据库经常获取userid为0的情况

经常碰到需要存数据库的插件时,总是获取userid为0的情况,存入的也是一条userid为0的空数据,日志也没报错,如下图,需要输入几次指令才能找到userid,大佬们这是为什么 :disappointed_relieved:

System:
OS: Windows 11 10.0.22631
CPU: (12) x64 12th Gen Intel(R) Core™ i5-12400F

Binaries:
Node: 20.9.0
Yarn: 4.0.1

Koishi:
Core: 4.17.4
Console: 5.25.8
Koishi Desktop: 0.11.2

2 个赞

It looks like that this is caused by red adapter with weird username, just stop using red.

3 个赞

好的,这就换一个适配器看看 :face_with_peeking_eye:

2 个赞