mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-08-21 13:57:25 +00:00
[Add] Core 添加一份 framework.json 完整示例文件;
[Add] simple-framework.json 添加一份 framework.json 完整示例文件;
This commit is contained in:
@ -0,0 +1,33 @@
|
|||||||
|
// 该文件为 framework.json 格式完整示例, 非测试用文件.
|
||||||
|
{
|
||||||
|
"id": "cgj-mirai",
|
||||||
|
"description": "test",
|
||||||
|
"version": "3.0.0-alpha",
|
||||||
|
"requiresVersion": "=>3.0.0",
|
||||||
|
"provider": "Github@LamGC, Github@mamoe",
|
||||||
|
"license": "AGPL-3.0",
|
||||||
|
"frameworkClass": "com.example.FrameworkMain",
|
||||||
|
"dependencies": [
|
||||||
|
"RequireDepend@1.0.0",
|
||||||
|
"OptionalDepend?@1.0.0"
|
||||||
|
],
|
||||||
|
|
||||||
|
"platform": {
|
||||||
|
"name": "Tencent QQ",
|
||||||
|
"identify": "qq"
|
||||||
|
},
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "LamGC",
|
||||||
|
"url": "https://github.com/LamGC",
|
||||||
|
"email": "lam827@lamgc.net"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"botCode": {
|
||||||
|
"patterns": [
|
||||||
|
"(?:\\[mirai:([^:]+)\\])",
|
||||||
|
"(?:\\[mirai:([^\\]]*)?:(.*?)?\\])",
|
||||||
|
"(?:\\[mirai:([^\\]]*)?(:(.*?))*?\\])"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user