koishi-plugin-starfx-bot 0.15.0 → 0.15.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -684,7 +684,7 @@ function apply(ctx, cfg) {
684
684
  });
685
685
  }
686
686
  if (cfg.originImg) {
687
- ctx.command("获取原图 <urls>").action(async ({ session }, urls) => {
687
+ ctx.command("获取X原图 <urls>").alias("推特原图").action(async ({ session }, urls) => {
688
688
  if (detectControl(controlJson, session.guildId, "originImg")) {
689
689
  let [xUrls, xIndex] = await Promise.all([
690
690
  getXUrl(session.quote.content),
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "contributors": [
5
5
  "StarFreedomX <starfreedomx@outlook.com>"
6
6
  ],
7
- "version": "0.15.0",
7
+ "version": "0.15.1",
8
8
  "main": "lib/index.js",
9
9
  "typings": "lib/index.d.ts",
10
10
  "files": [
package/readme.md CHANGED
@@ -109,3 +109,4 @@ StarFreedomX机器人的小功能,自用
109
109
  | `0.14.0` | echo增加对引用消息的支持,且支持有at触发 |
110
110
  | `0.14.3` | echo多at情况支持 |
111
111
  | `0.15.0` | 自用rss获取推特原图 |
112
+ | `0.15.1` | 优化指令名称,防止冲突 |