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

希望增加在入群前获取群添加请求中群名称和群人数/最大人数 #158

Open
CauchyDOOM opened this issue Apr 15, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@CauchyDOOM
Copy link

特性描述
希望增加在入群前获取群添加请求中群名称和群人数/最大人数

如图:上半部分(new)为mirai2.8.0-2.10.1&mirai-native2.0.0 下半部分(old)为先驱框架
O_%E%4236KD5M_F4OTXQX~A

@CauchyDOOM CauchyDOOM added the enhancement New feature or request label Apr 15, 2022
@PeratX
Copy link
Member

PeratX commented Apr 21, 2022

具体请求的方法为?

@CauchyDOOM
Copy link
Author

具体请求的方法为?

当bot收到好友发送的群邀请BotInvitedJoinGroupRequestEvent后,还未被群管理接受(或者其它插件审核是否入群)这一阶段中,就能获取到该群的群名称writeString(info.name),群人数/群最大可容纳人数。(以往这些数据是入群后才会获取到)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants