Skip to content

Commit

Permalink
feat: 补充陌生人信息
Browse files Browse the repository at this point in the history
  • Loading branch information
Redmomn committed Nov 27, 2024
1 parent c70e33e commit f9217aa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions coolq/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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,
})
}

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down

0 comments on commit f9217aa

Please sign in to comment.