mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 05:27:59 +08:00
feat: add support for wechatcom channel
This commit is contained in:
@@ -29,4 +29,8 @@ def create_channel(channel_type):
|
||||
from channel.wechatmp.wechatmp_channel import WechatMPChannel
|
||||
|
||||
return WechatMPChannel(passive_reply=False)
|
||||
elif channel_type == "wechatcom":
|
||||
from channel.wechatcom.wechatcom_channel import WechatComChannel
|
||||
|
||||
return WechatComChannel()
|
||||
raise RuntimeError
|
||||
|
||||
Reference in New Issue
Block a user