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] get_group_member_info, get_stranger_info 支持不全面 #48

Open
MuuuShin opened this issue Nov 26, 2023 · 14 comments
Open

[Bug] get_group_member_info, get_stranger_info 支持不全面 #48

MuuuShin opened this issue Nov 26, 2023 · 14 comments
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@MuuuShin
Copy link
Contributor

如题 似乎只能获取QQ号和at对应的QQ 无法获取昵称

@happyvalley-lmx
Copy link

有类似的问题,走Onebot的at的时候一开始只显示数字,但似乎重新点进去at就出来了,也不知道是什么原理

@Mag1Catz
Copy link

走onebot的时候event(GroupMessageEvent).sender.card也无法获取到群名片。
具体位置在 https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%BE%A4%E6%B6%88%E6%81%AF

@MuuuShin
Copy link
Contributor Author

MuuuShin commented Nov 28, 2023

我再追加下,应该是有一部分api没有做实现,目前能够确认的其中一个是:
)LPE`3P Q_1U@~M$I{ ))TP_tmb

每次群成员发送消息的同时onebot客户端会尝试获取成员信息,每次都获取不到

在客户端尝试请求类似信息时,服务端(lgr)会返回类似以下的信息:

call api ret not 0:{"data":null,"echo":"E9831206-1E80-4599-8590-33EE2EC894F9","retcode":404,"status":"failed"}

@MuuuShin MuuuShin changed the title 似乎无法正常获取QQ号对应的昵称? 似乎无法正常获取QQ昵称,群名等oneBotv11支持的部分信息 Nov 28, 2023
@MuuuShin
Copy link
Contributor Author

MuuuShin commented Dec 4, 2023

楼主尝试跟进了下,这个问题不仅出在OneBot没有对应的api配置GetStrangerInfoOperation.cs OneBotStranger.cs OneBotGetStrangerInfo,关键是Core没有做Stranger实现,get_stranger_info无法在OneBot被定义

@MuuuShin
Copy link
Contributor Author

MuuuShin commented Dec 6, 2023

走onebot的时候event(GroupMessageEvent).sender.card也无法获取到群名片。 具体位置在 https://github.com/botuniverse/onebot-11/blob/master/event/message.md#%E7%BE%A4%E6%B6%88%E6%81%AF

可以尝试一下pr里的代码,还没有被接受.但是楼主试了一下应该是可以用的
已经被维护者接受了

@Linwenxuan05
Copy link
Contributor

没写这个(

@Linwenxuan05
Copy link
Contributor

有类似的问题,走Onebot的at的时候一开始只显示数字,但似乎重新点进去at就出来了,也不知道是什么原理

这个是NTQQ的Bug

@MuuuShin
Copy link
Contributor Author

MuuuShin commented Dec 8, 2023

楼主使用其他内容替代完成了stranger info 的构建 写的很扭曲就不提pr了)
如果想要可以单独来我repo里下
原生stranger info暂时没有办法构建,被NTQQ限制了.

@MuuuShin MuuuShin closed this as completed Dec 8, 2023
@MuuuShin MuuuShin changed the title 似乎无法正常获取QQ昵称,群名等oneBotv11支持的部分信息 似乎无法调用group_member_info ,stranger_info等onebot v11 支持的部分api Dec 15, 2023
@MuuuShin MuuuShin reopened this Dec 15, 2023
@MuuuShin
Copy link
Contributor Author

想了想还是reopen一下 毕竟stranger_info基本无法被完全实现了
请看此discussion作为替代解决方案:discussion #53

@MuuuShin MuuuShin changed the title 似乎无法调用group_member_info ,stranger_info等onebot v11 支持的部分api 似乎无法调用group_member_info, stranger_info等onebot v11 支持的部分api Dec 15, 2023
@lava081
Copy link

lava081 commented Mar 7, 2024

get_group_member_info响应的sex字段似乎是 '' 而不是 male 或 female 或 unknown

@DarkCWK DarkCWK changed the title 似乎无法调用group_member_info, stranger_info等onebot v11 支持的部分api [Bug] get_group_member_info, get_stranger_info 支持不全面 Mar 7, 2024
@DarkCWK DarkCWK added the bug Something isn't working label Mar 7, 2024
@Linwenxuan05 Linwenxuan05 added the wontfix This will not be worked on label Mar 9, 2024
@DarkCWK
Copy link
Collaborator

DarkCWK commented Mar 19, 2024

目前的 get_stranger_info 方案是从所有的群中获取信息

@MuuuShin
Copy link
Contributor Author

目前的 get_stranger_info 方案是从所有的群中获取信息

所以目前stanger也算是做了?那我就可以关我的discussion了吗

@DarkCWK
Copy link
Collaborator

DarkCWK commented Mar 19, 2024

所以目前stanger也算是做了?那我就可以关我的discussion了吗

但是不全面啊(
discussion 大概是可以关了?

@MuuuShin
Copy link
Contributor Author

所以目前stanger也算是做了?那我就可以关我的discussion了吗

但是不全面啊( discussion 大概是可以关了?

我感觉看描述跟我的discussion差不多实现,我先关了,issue先留着吧

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

6 participants