Skip to content

Conversation

faithleysath
Copy link

Copy link

github-actions bot commented Oct 15, 2025

@github-actions github-actions bot temporarily deployed to pull request October 15, 2025 15:06 Inactive
@faithleysath
Copy link
Author

为了适配napcat,实际上message_sent多此一举,完全可以在插件里通过sender_id == bot_id来判断是不是bot自己发的消息。

@yanyongyu
Copy link
Member

message_sent 不是标准 onebot v11 消息类型,并且你也可以通过在插件内 add_custom_model 的方式来添加事件类,这个才是正确的做法。

@faithleysath
Copy link
Author

message_sent 不是标准 onebot v11 消息类型,并且你也可以通过在插件内 add_custom_model 的方式来添加事件类,这个才是正确的做法。

不可否认确实是这样

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants