feat: add support for wechatcom channel

This commit is contained in:
lanvent
2023-04-20 01:03:04 +08:00
parent 0a7d6e4577
commit 4cbf46fd4d
9 changed files with 187 additions and 7 deletions

9
app.py
View File

@@ -43,7 +43,14 @@ 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"]:
if channel_name in [
"wx",
"wxy",
"terminal",
"wechatmp",
"wechatmp_service",
"wechatcom",
]:
PluginManager().load_plugins()
# startup channel