feat(event): send events for resource download based on source

This commit is contained in:
InfinityPacer
2024-12-06 02:08:36 +08:00
parent 4c511eaea6
commit c030166cf5
4 changed files with 37 additions and 9 deletions

View File

@@ -111,6 +111,8 @@ class MessageChain(ChainBase):
info = self.message_parser(source=source, body=body, form=form, args=args)
if not info:
return
# 更新消息来源
source = info.source
# 渠道
channel = info.channel
# 用户ID