@azimiao/koishi-plugin-cafe-bot-exp 0.0.19 → 0.0.20
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 +4 -3
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -38,7 +38,7 @@ __export(src_exports, {
|
|
|
38
38
|
module.exports = __toCommonJS(src_exports);
|
|
39
39
|
|
|
40
40
|
// package.json
|
|
41
|
-
var version = "0.0.
|
|
41
|
+
var version = "0.0.20";
|
|
42
42
|
|
|
43
43
|
// src/draw/index.ts
|
|
44
44
|
var draw_exports = {};
|
|
@@ -698,6 +698,7 @@ async function apply3(ctx, config) {
|
|
|
698
698
|
wrong: "integer"
|
|
699
699
|
}, { primary: "id", autoInc: true });
|
|
700
700
|
await downloadQuitDataIfNotExist(ctx, config, config.forceUpdateWhenLoad);
|
|
701
|
+
ctx.command("轨迹答题").usage("通过趣味答题看看你是不是合格的桂皮吧~");
|
|
701
702
|
ctx.command("轨迹答题/出题", "随机抽一道题目").action(async (argv, _) => {
|
|
702
703
|
await downloadQuitDataIfNotExist(ctx, config, false);
|
|
703
704
|
var lastQuestion = await ctx.cache.get("question", argv.session.userId);
|
|
@@ -743,7 +744,6 @@ D. ${qOptions[3].s}`;
|
|
|
743
744
|
await argv.session?.send(messageQuestion);
|
|
744
745
|
return;
|
|
745
746
|
});
|
|
746
|
-
ctx.command("轨迹答题").usage("通过趣味答题看看你是不是合格的桂皮吧~");
|
|
747
747
|
ctx.command("轨迹答题/回答 <answer:text>", `使用"回答+空格+选项"回答问题,另外你也可以直接@我说出选项(ABCD)哦`).action(async (argv, answer) => {
|
|
748
748
|
await answerHandler(ctx, config, argv, answer);
|
|
749
749
|
return;
|
|
@@ -818,7 +818,8 @@ async function apply4(ctx, config) {
|
|
|
818
818
|
ctx.command("关于", "about").action(async (argv, _) => {
|
|
819
819
|
argv.session?.send(
|
|
820
820
|
`<img src="https://www.azimiao.com/wp-content/uploads/2025/05/cafe-wide.jpg"/>
|
|
821
|
-
${At(argv)}
|
|
821
|
+
${At(argv)}Hi~我是轨迹CafeBot概念版v${version}🎉~
|
|
822
|
+
我运行在🖥️超级计算机『卡佩尔』上🛜
|
|
822
823
|
🔹 我提供轨迹抽卡🎴和轨迹问答🙋功能
|
|
823
824
|
🔹 另外我还有一些隐藏功能待你探索哦🎁
|
|
824
825
|
我还在成长中,多多与我聊天吧~`
|