From f173bde1a2f662593723c94132e06dea96ff7424 Mon Sep 17 00:00:00 2001 From: LamGC Date: Sat, 21 Nov 2020 10:19:07 +0800 Subject: [PATCH] =?UTF-8?q?[Add]=20Framework-Mirai=20=E6=B7=BB=E5=8A=A0=20?= =?UTF-8?q?mirai=20=E6=A1=86=E6=9E=B6=E7=9A=84=20framework.json;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Add] framework.json 添加框架描述文件; --- .../src/main/resources/framework.json | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 ContentGrabbingJi-framework-mirai/src/main/resources/framework.json diff --git a/ContentGrabbingJi-framework-mirai/src/main/resources/framework.json b/ContentGrabbingJi-framework-mirai/src/main/resources/framework.json new file mode 100644 index 0000000..b17343f --- /dev/null +++ b/ContentGrabbingJi-framework-mirai/src/main/resources/framework.json @@ -0,0 +1,30 @@ +{ + "id": "cgj-mirai", + "description": "ContentGrabbingJi官方实现的, 基于 Mirai 框架的QQ平台组件", + "version": "3.0.0-alpha", + "requiresVersion": "=>3.0.0", + "provider": "Github@LamGC, Github@mamoe", + "license": "AGPL-3.0", + "frameworkClass": "net.lamgc.cgj.bot.framework.mirai.MiraiMain", + "dependencies": [ + ], + + "platform": { + "name": "Tencent QQ", + "identify": "qq" + }, + "authors": [ + { + "name": "LamGC", + "url": "https://github.com/LamGC", + "email": "lam827@lamgc.net" + } + ], + "botCode": { + "patterns": [ + "(?:\\[mirai:([^:]+)\\])", + "(?:\\[mirai:([^\\]]*)?:(.*?)?\\])", + "(?:\\[mirai:([^\\]]*)?(:(.*?))*?\\])" + ] + } +} \ No newline at end of file