Skip to content

Releases: gdpl2112/MiraiCallApiPlugin

2.7.3

16 Oct 04:16
Compare
Choose a tag to compare
  • 支持$10及以上

2.7.1

19 Sep 06:51
Compare
Choose a tag to compare
  • 优化请求数据
  • 修复部分异常

2.7

15 Sep 05:29
Compare
Choose a tag to compare
2.7
  • 修复数组解析失败的问题

2.6

14 Sep 01:25
Compare
Choose a tag to compare
2.6
/callApi get <触发词> <id>    # 某一API权限查询
/callApi setAll <触发词> <布尔值>    # 某一API存在的所有id同时操作权限控制
/callApi set <触发词> <id> <布尔值>    # 某一API权限控制
  • 其命令可针对某一API在某一群/好友操作开关

2.5.1

07 Sep 06:10
Compare
Choose a tag to compare
  • 优化静态资源访问

2.4

17 Jul 04:42
Compare
Choose a tag to compare
2.4

V 2.4

新增了API开关命令

/callApi switch <触发词> # 开关某一API

此次更新 支持了 音乐格式 转发 格式的发送

完美继承了 MiraiLsys
子插件

  • Lsys-GetPic
  • Lsys-GetSong
  • Lsys-PicParser

详情见

[
  {
    "err": "调用失败",
    "out": "<Pic:$1>",
    "outArgs": [
      //新表达格式 <Pic:$1> 即将其数组所有转为图片并以转发格式发出 
      "[]"
    ],
    "proxyIp": "",
    "proxyPort": 0,
    "sw": true,
    "touch": "快手图集",
    "url": "http://kloping.top/api/search/parseImgs?url=$1&type=ks"
  },
  {
    "err": "调用失败",
    "out": "<Pic:$1>",
    "outArgs": [
      //与上大体相同
      "data.[]"
    ],
    "proxyIp": "",
    "proxyPort": 0,
    "sw": true,
    "touch": "堆糖搜图",
    "url": "http://kloping.top/api/search/pic?keyword=$1&num=3&type=duit"
  },
  {
    "err": "调用失败",
    //新表达方式输出为音乐格式 下同
    "out": "<Music:KugouMusic,$1,$2,https://www.kugou.com/,$3,$4>",
    "outArgs": [
      "data[0].media_name",
      "data[0].author_name",
      "data[0].imgUrl",
      "data[0].songUrl"
    ],
    "proxyIp": "",
    "proxyPort": 0,
    "sw": true,
    "touch": "酷狗点歌",
    "url": "http://kloping.top/api/search/song?keyword=$1&type=kugou&n=2"
  },
  {
    "err": "调用失败",
    "out": "<Music:QQMusic,$1,$2,https://y.qq.com/,$3,$4>",
    "outArgs": [
      "data[0].media_name",
      "data[0].author_name",
      "data[0].imgUrl",
      "data[0].songUrl"
    ],
    "proxyIp": "",
    "proxyPort": 0,
    "sw": true,
    "touch": "QQ点歌",
    "url": "http://kloping.top/api/search/song?keyword=$1&type=qq&n=2"
  },
  {
    "err": "调用失败",
    "out": "<Music:NeteaseCloudMusic,$1,$2,https://music.163.com/,$3,$4>",
    "outArgs": [
      "data[0].media_name",
      "data[0].author_name",
      "data[0].imgUrl",
      "data[0].songUrl"
    ],
    "proxyIp": "",
    "proxyPort": 0,
    "sw": true,
    "touch": "网易点歌",
    "url": "http://kloping.top/api/search/song?keyword=$1&type=wy&n=2"
  }
]

2.2

03 Jul 03:16
Compare
Choose a tag to compare
2.2
  • 修复的 输出格式表达符 存在空格 或 较大数组 时的 空指针

请留意 https://github.com/gdpl2112/MiraiCallApiPlugin/releases/tag/1.9

2.1

27 Jun 13:21
Compare
Choose a tag to compare

2.0

09 Jun 14:28
Compare
Choose a tag to compare
2.0
  • 修复网页转码的问题

1.9

09 Jun 10:55
Compare
Choose a tag to compare
1.9
  • 分离依赖

将 libs-xxxxx.jar

与插件主体都放入 plugins 即可

该 libs-xx.jar 与 AutoReply libs 相同 选其一即可