新增飞书应用通道

- 支持自建机器人的私聊和群聊
 - 支持图片生成
 - 支持文件总结
This commit is contained in:
Saboteur7
2023-11-21 22:41:54 +08:00
parent 061d8a3a5f
commit 86a58c3d80
8 changed files with 371 additions and 6 deletions

6
app.py
View File

@@ -5,8 +5,8 @@ import signal
import sys
from channel import channel_factory
from common.log import logger
from config import conf, load_config
from common import const
from config import load_config
from plugins import *
@@ -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", "wework"]:
if channel_name in ["wx", "wxy", "terminal", "wechatmp", "wechatmp_service", "wechatcom_app", "wework", const.FEISHU]:
PluginManager().load_plugins()
# startup channel