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

[事件] AT_MESSAGE_CREATE 和 MESSAGE_CREATE 信息准确性需求 #19

Open
Antecer opened this issue Jan 13, 2022 · 1 comment
Open

Comments

@Antecer
Copy link

Antecer commented Jan 13, 2022

想要的能力是

AT_MESSAGE_CREATEMESSAGE_CREATE 事件,
推送的 Message 对象能传递完整的Member信息和User信息

基于想要的能力,能够实现的是

通过Menber.NickUser.UserName给与用户更好的交互体验,
现在的情况是,返回的Member对象没有填充Nick字段,而是用Nick填充了User.UserName字段,导致UserName字段的意义不明确.

如果未提供该能力,造成的影响是

再次调用/guilds/{guild_id}/members/{user_id}接口获取完整的Member信息,
导致API的重复调用,增加服务端压力,拖慢机器人对用户的交互响应.

@Antecer Antecer changed the title 接口需求反馈 AT_MESSAGE_CREATE 和 MESSAGE_CREATE 事件信息准确性需求 Jan 13, 2022
@Antecer Antecer changed the title AT_MESSAGE_CREATE 和 MESSAGE_CREATE 事件信息准确性需求 [事件] AT_MESSAGE_CREATE 和 MESSAGE_CREATE 信息准确性需求 Jan 13, 2022
@vissong
Copy link
Contributor

vissong commented Jan 14, 2022

我们统筹安排下,计划确定后这里来 update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants