diff --git a/pkg/platform/sources/wecombot.py b/pkg/platform/sources/wecombot.py index e8e8592c..6138174d 100644 --- a/pkg/platform/sources/wecombot.py +++ b/pkg/platform/sources/wecombot.py @@ -140,7 +140,7 @@ class WecomBotAdapter(adapter.MessagePlatformAdapter): await asyncio.sleep(1) await self.bot.run_task( - host=self.config['host'], + host='0.0.0.0', port=self.config['port'], shutdown_trigger=shutdown_trigger_placeholder, ) diff --git a/pkg/platform/sources/wecombot.yaml b/pkg/platform/sources/wecombot.yaml index 960a0417..487c2df6 100644 --- a/pkg/platform/sources/wecombot.yaml +++ b/pkg/platform/sources/wecombot.yaml @@ -11,16 +11,6 @@ metadata: icon: wecombot.png spec: config: - - name: host - label: - en_US: Host - zh_Hans: 监听主机 - description: - en_US: Webhook host, unless you know what you're doing, please write 0.0.0.0 - zh_Hans: Webhook 监听主机,除非你知道自己在做什么,否则请写 0.0.0.0 - type: string - required: true - default: "0.0.0.0" - name: port label: en_US: Port