koishi-plugin-ciyi 1.2.5 → 1.2.6
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.d.ts +1 -1
- package/lib/index.js +8 -15
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Context, Schema } from "koishi";
|
|
2
2
|
import { History } from "./view";
|
|
3
3
|
export declare const name = "ciyi";
|
|
4
|
-
export declare const usage = "
|
|
4
|
+
export declare const usage = "## \u4F7F\u7528\n\n\u8BBE\u7F6E\u6307\u4EE4\u522B\u540D\u540E\uFF0C\u53D1\u9001 `ciyi` \u67E5\u770B\u73A9\u6CD5\u3002\u6BCF\u65E5\u85CF\u4E00\u4E2A\u4E24\u5B57\u8BCD\uFF0C\u7B2C\u4E00\u6B21\u731C\u6D4B\u4F1A\u81EA\u52A8\u5F00\u9898\u3002\n\n## \u6307\u4EE4\n\n| \u6307\u4EE4 | \u8BF4\u660E |\n| --- | --- |\n| `ciyi` | \u73A9\u6CD5\u8BF4\u660E |\n| `ciyi.\u731C <\u8BCD>` | \u5F00\u59CB\u4ECA\u65E5\u6E38\u620F\u5E76\u63D0\u4EA4\u731C\u6D4B |\n| `ciyi.\u6392\u884C\u699C` | \u731C\u4E2D\u6B21\u6570\u699C |";
|
|
5
5
|
export declare const inject: {
|
|
6
6
|
required: string[];
|
|
7
7
|
optional: string[];
|
package/lib/index.js
CHANGED
|
@@ -858,24 +858,17 @@ __name(renderRankCard, "renderRankCard");
|
|
|
858
858
|
|
|
859
859
|
// src/index.ts
|
|
860
860
|
var name = "ciyi";
|
|
861
|
-
var usage =
|
|
861
|
+
var usage = `## 使用
|
|
862
862
|
|
|
863
|
-
|
|
864
|
-
名次越小越近,**#1 就是答案本身**。
|
|
863
|
+
设置指令别名后,发送 \`ciyi\` 查看玩法。每日藏一个两字词,第一次猜测会自动开题。
|
|
865
864
|
|
|
866
|
-
##
|
|
865
|
+
## 指令
|
|
867
866
|
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
启用 Koishi Canvas 服务后渲染「墨与纸」风格卡片;Puppeteer 已自带该服务,无需重复安装绘图库。
|
|
874
|
-
没有绘图服务、渲染失败或关掉「渲染图片」时,自动回退为等价文本,玩法不受影响。
|
|
875
|
-
|
|
876
|
-
## QQ 群
|
|
877
|
-
|
|
878
|
-
* 956758505`;
|
|
867
|
+
| 指令 | 说明 |
|
|
868
|
+
| --- | --- |
|
|
869
|
+
| \`ciyi\` | 玩法说明 |
|
|
870
|
+
| \`ciyi.猜 <词>\` | 开始今日游戏并提交猜测 |
|
|
871
|
+
| \`ciyi.排行榜\` | 猜中次数榜 |`;
|
|
879
872
|
var inject = { required: ["database"], optional: ["canvas"] };
|
|
880
873
|
var Config = import_koishi.Schema.object({
|
|
881
874
|
atReply: import_koishi.Schema.boolean().default(false).description("响应时 @"),
|