feat: 新增跨平台消息互通插件及适配器优化
refactor(discord_adapter): 优化音频处理与心跳机制 feat(plugins/discord-cross): 实现QQ与Discord消息互通功能 fix(events/base): 添加platform字段到基础事件模型
This commit is contained in:
@@ -45,8 +45,10 @@ class OneBotEvent(ABC):
|
||||
|
||||
time: int
|
||||
self_id: int
|
||||
platform: str = "onebot"
|
||||
_bot: Optional["Bot"] = field(default=None, init=False)
|
||||
|
||||
|
||||
@property
|
||||
@abstractmethod
|
||||
def post_type(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user