diff --git a/astrbot/core/platform/sources/wecom/wecom_adapter.py b/astrbot/core/platform/sources/wecom/wecom_adapter.py index e229038d..50341a8a 100644 --- a/astrbot/core/platform/sources/wecom/wecom_adapter.py +++ b/astrbot/core/platform/sources/wecom/wecom_adapter.py @@ -185,6 +185,7 @@ class WecomPlatformAdapter(Platform): return PlatformMetadata( "wecom", "wecom 适配器", + id=self.config.get("id", "wecom"), ) @override diff --git a/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py b/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py index 9ea1e533..c67c2037 100644 --- a/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +++ b/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py @@ -184,6 +184,7 @@ class WeixinOfficialAccountPlatformAdapter(Platform): return PlatformMetadata( "weixin_official_account", "微信公众平台 适配器", + id=self.config.get("id", "weixin_official_account"), ) @override