Closed CuteReimu closed 1 week ago
1.3.6
按照OneBot11的接口定义,get_group_member_info返回的level应该是string类型,但是实际上NapCatQQ接口返回的是:
get_group_member_info
level
string
{ "status": "ok", "retcode": 0, "data": { "group_id": 12345678, "user_id": 87654321, "nickname": "", "card": "xxxxxx", "sex": "unknown", "age": 0, "area": "", "level": 1, // number类型 "qq_level": 0, "join_time": 1663751518, "last_sent_time": 1717128963, "title_expire_time": 0, "unfriendly": false, "card_changeable": true, "is_robot": false, "shut_up_timestamp": 0, "role": "member", "title": "", "qage": 13 }, "message": "", "wording": "", "echo": 93 }
附:OneBot-11的接口定义
https://github.com/botuniverse/onebot-11/blob/master/api/public.md
group_id
user_id
nickname
card
sex
male
female
unknown
age
area
join_time
last_sent_time
role
owner
admin
member
unfriendly
title
title_expire_time
card_changeable
下个版本
稍后尝试1.4.5
有问题再open
@MliKiowa 又变回去了,疑似 cd62e8ca37ff5089cf5d2a9205653658644bd282 引入的BUG
@MliKiowa 又变回去了,疑似 cd62e8c 引入的BUG
似乎又不是这个原因,好像看这个提交又没什么问题。暂时没发现原因,但结果确实变回数字了
NapCat 版本
1.3.6
问题描述
按照OneBot11的接口定义,
get_group_member_info
返回的level
应该是string
类型,但是实际上NapCatQQ接口返回的是:附:OneBot-11的接口定义
https://github.com/botuniverse/onebot-11/blob/master/api/public.md
group_id
user_id
nickname
card
sex
male
或female
或unknown
age
area
join_time
last_sent_time
level
role
owner
或admin
或member
unfriendly
title
title_expire_time
card_changeable