新增wework企业微信机器人支持插件功能

This commit is contained in:
chenzhenkun
2023-08-31 21:02:00 +08:00
parent 7c6ed9944e
commit b213ba541d
2 changed files with 8 additions and 2 deletions

2
app.py
View File

@@ -43,7 +43,7 @@ def run():
# os.environ['WECHATY_PUPPET_SERVICE_ENDPOINT'] = '127.0.0.1:9001'
channel = channel_factory.create_channel(channel_name)
if channel_name in ["wx", "wxy", "terminal", "wechatmp", "wechatmp_service", "wechatcom_app"]:
if channel_name in ["wx", "wxy", "terminal", "wechatmp", "wechatmp_service", "wechatcom_app", "wework"]:
PluginManager().load_plugins()
# startup channel