plugins: support wechaty channel

This commit is contained in:
lanvent
2023-04-01 04:26:34 +08:00
parent 02cd553990
commit cda9d5873d
2 changed files with 3 additions and 1 deletions

2
app.py
View File

@@ -14,7 +14,7 @@ def run():
# create channel
channel_name=conf().get('channel_type', 'wx')
channel = channel_factory.create_channel(channel_name)
if channel_name=='wx':
if channel_name in ['wx','wxy']:
PluginManager().load_plugins()
# startup channel