mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-18 12:40:06 +08:00
feat: add support for wechatcom channel
This commit is contained in:
9
app.py
9
app.py
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user