diff --git a/coolq/api.go b/coolq/api.go index a69f66155..f34b1ab42 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -1018,7 +1018,7 @@ func (bot *CQBot) CQGetStrangerInfo(userID int64) global.MSG { return OK(global.MSG{ "user_id": info.Uin, "nickname": info.Nickname, - //"qid": info.Qid, + "qid": info.QID, "sex": func() string { //if info.Sex == 1 { // return "female" @@ -1028,11 +1028,11 @@ func (bot *CQBot) CQGetStrangerInfo(userID int64) global.MSG { // unknown = 0x2 return "unknown" }(), - "sign": info.PersonalSign, - //"age": info.Age, - //"level": info.Level, + "sign": info.PersonalSign, + "age": info.Age, + "level": info.Level, //"login_days": info.LoginDays, - //"vip_level": info.VipLevel, + "vip_level": info.VipLevel, }) } diff --git a/go.mod b/go.mod index 143ecb6ee..ecef00ee4 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/FloatTech/sqlite v1.6.3 - github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241123020035-566cbd22ddb7 + github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241127060254-2b65455dd776 github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7 github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5 diff --git a/go.sum b/go.sum index 2bd098e92..fd3c75764 100644 --- a/go.sum +++ b/go.sum @@ -2,8 +2,8 @@ github.com/FloatTech/sqlite v1.6.3 h1:MQkqBNlkPuCoKQQgoNLuTL/2Ci3tBTFAnVYBdD0Wy4 github.com/FloatTech/sqlite v1.6.3/go.mod h1:zFbHzRfB+CJ+VidfjuVbrcin3DAz283F7hF1hIeHzpY= github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1 h1:g4pTnDJUW4VbJ9NvoRfUvdjDrHz/6QhfN/LoIIpICbo= github.com/FloatTech/ttl v0.0.0-20230307105452-d6f7b2b647d1/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs= -github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241123020035-566cbd22ddb7 h1:x/2DdNx7l6A2Neu/juc7hkk6fZ4eGR6z/D0Hz76AM1w= -github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241123020035-566cbd22ddb7/go.mod h1:m7ydyvA8DKOg5c6iTFDfNtfIK9uhqXVJKRXl4mlGkTA= +github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241127060254-2b65455dd776 h1:hLOMBo1yB9gXp9JuK2CmPzGPrdpO+l3FW4W8R2IEshE= +github.com/LagrangeDev/LagrangeGo v0.1.2-0.20241127060254-2b65455dd776/go.mod h1:m7ydyvA8DKOg5c6iTFDfNtfIK9uhqXVJKRXl4mlGkTA= github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a h1:aU1703IHxupjzipvhu16qYKLMR03e+8WuNR+JMsKfGU= github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a/go.mod h1:OZqLNXdYJHmx7aqq/T6wAdFEdoGm5nmIfC4kU7M8P8o= github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d h1:/Xuj3fIiMY2ls1TwvPKmaqQrtJsPY+c9s+0lOScVHd8=