From 47efeeea212050508565c7caa0f5d5bff311f835 Mon Sep 17 00:00:00 2001 From: Shigma Date: Wed, 30 Aug 2023 03:06:47 +0800 Subject: [PATCH] wechat official and wecom --- .vitepress/config/zh-CN.json | 16 ++++++++++++---- zh-CN/manual/usage/adapter.md | 6 ++++-- zh-CN/plugins/adapter/wechat-official.md | 5 +++++ zh-CN/plugins/adapter/wecom.md | 5 +++++ zh-CN/plugins/index.md | 2 ++ 5 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 zh-CN/plugins/adapter/wechat-official.md create mode 100644 zh-CN/plugins/adapter/wecom.md diff --git a/.vitepress/config/zh-CN.json b/.vitepress/config/zh-CN.json index bba036c5e863..27366d517454 100644 --- a/.vitepress/config/zh-CN.json +++ b/.vitepress/config/zh-CN.json @@ -577,7 +577,7 @@ "text": "适配器支持", "items": [ { - "text": "Dingtalk", + "text": "钉钉", "link": "/plugins/adapter/dingtalk.md" }, { @@ -589,7 +589,7 @@ "link": "/plugins/adapter/kook.md" }, { - "text": "Lark", + "text": "飞书", "link": "/plugins/adapter/lark.md" }, { @@ -597,7 +597,7 @@ "link": "/plugins/adapter/line.md" }, { - "text": "Mail", + "text": "邮件", "link": "/plugins/adapter/mail.md" }, { @@ -609,7 +609,7 @@ "link": "/plugins/adapter/onebot.md" }, { - "text": "QQGuild", + "text": "QQ 频道", "link": "/plugins/adapter/qqguild.md" }, { @@ -620,6 +620,14 @@ "text": "Telegram", "link": "/plugins/adapter/telegram.md" }, + { + "text": "微信公众号", + "link": "/plugins/adapter/wechat-official.md" + }, + { + "text": "企业微信", + "link": "/plugins/adapter/wecom.md" + }, { "text": "WhatsApp", "link": "/plugins/adapter/whatsapp.md" diff --git a/zh-CN/manual/usage/adapter.md b/zh-CN/manual/usage/adapter.md index e39c4d911881..412d19123930 100644 --- a/zh-CN/manual/usage/adapter.md +++ b/zh-CN/manual/usage/adapter.md @@ -22,10 +22,10 @@ 仅仅是在沙盒中对话是远远不够的。我们需要将机器人接入到真实的聊天平台中,才能让它真正地为我们服务。Koishi 使用适配器插件来支持各种聊天平台。下面是官方维护的适配器列表: -- [Dingtalk (钉钉)](../../plugins/adapter/dingtalk.md) +- [钉钉](../../plugins/adapter/dingtalk.md) - [Discord](../../plugins/adapter/discord.md) - [KOOK](../../plugins/adapter/kook.md) -- [Lark (飞书)](../../plugins/adapter/lark.md) +- [飞书](../../plugins/adapter/lark.md) - [LINE](../../plugins/adapter/line.md) - [邮件](../../plugins/adapter/mail.md) - [Matrix](../../plugins/adapter/matrix.md) @@ -33,6 +33,8 @@ - [QQ 频道](../../plugins/adapter/qqguild.md) - [Slack](../../plugins/adapter/slack.md) - [Telegram](../../plugins/adapter/telegram.md) +- [微信公众号](../../plugins/adapter/wechat-official.md) +- [企业微信](../../plugins/adapter/wecom.md) - [WhatsApp](../../plugins/adapter/whatsapp.md) 其中,常用的适配器插件已经预装在了 Koishi 中,你可以在插件配置中的 adapter 分组中找到它们。如果没有看到你想要的平台,你也可以在插件市场中搜索并安装更多适配器插件。 diff --git a/zh-CN/plugins/adapter/wechat-official.md b/zh-CN/plugins/adapter/wechat-official.md new file mode 100644 index 000000000000..07c7cec5a005 --- /dev/null +++ b/zh-CN/plugins/adapter/wechat-official.md @@ -0,0 +1,5 @@ +# @koishijs/plugin-adapter-wechat-official + +## 接入方法 + +## 机器人选项 diff --git a/zh-CN/plugins/adapter/wecom.md b/zh-CN/plugins/adapter/wecom.md new file mode 100644 index 000000000000..14b469365502 --- /dev/null +++ b/zh-CN/plugins/adapter/wecom.md @@ -0,0 +1,5 @@ +# @koishijs/plugin-adapter-wecom + +## 接入方法 + +## 机器人选项 diff --git a/zh-CN/plugins/index.md b/zh-CN/plugins/index.md index e3b422865dd6..935e9486a9d4 100644 --- a/zh-CN/plugins/index.md +++ b/zh-CN/plugins/index.md @@ -15,6 +15,8 @@ Koishi 官方提供了许多插件。为了更好地模块化开发,它们被 - [@koishijs/plugin-adapter-qqguild](./adapter/qqguild.md) - [@koishijs/plugin-adapter-slack](./adapter/slack.md) - [@koishijs/plugin-adapter-telegram](./adapter/telegram.md) +- [@koishijs/plugin-adapter-wechat-official](./adapter/wechat-official.md) +- [@koishijs/plugin-adapter-wecom](./adapter/wecom.md) - [@koishijs/plugin-adapter-whatsapp](./adapter/whatsapp.md) ## 数据库支持