[Add] Framework-Mirai 添加 mirai 框架的 framework.json;

[Add] framework.json 添加框架描述文件;
This commit is contained in:
LamGC 2020-11-21 10:19:07 +08:00
parent dc1abdbdac
commit f173bde1a2
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -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:([^\\]]*)?(:(.*?))*?\\])"
]
}
}