koishi-plugin-rusty-lake-lizard 0.0.2 → 0.0.4
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 +2 -4
- package/package.json +2 -1
package/lib/index.js
CHANGED
|
@@ -282,16 +282,14 @@ function apply(ctx) {
|
|
|
282
282
|
visitedRooms: "json",
|
|
283
283
|
doneTasks: "json"
|
|
284
284
|
}, {
|
|
285
|
-
primary: "id"
|
|
286
|
-
autoInc: true
|
|
285
|
+
primary: "id"
|
|
287
286
|
});
|
|
288
287
|
ctx.model.extend("rusty_lake_players", {
|
|
289
288
|
id: "string",
|
|
290
289
|
gameId: "string",
|
|
291
290
|
userId: "string"
|
|
292
291
|
}, {
|
|
293
|
-
primary: "id"
|
|
294
|
-
autoInc: true
|
|
292
|
+
primary: "id"
|
|
295
293
|
});
|
|
296
294
|
const command = ctx.command("锈湖", "锈湖桌游").alias("rl");
|
|
297
295
|
async function getPlayerState(session) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-rusty-lake-lizard",
|
|
3
3
|
"description": "交互式解谜游戏,来玩玩吧~",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "git+https://github.com/lizard0126/rusty-lake-lizard.git"
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"plugin"
|
|
23
23
|
],
|
|
24
24
|
"peerDependencies": {
|
|
25
|
+
"@koishijs/plugin-database-sqlite": "^4.6.0",
|
|
25
26
|
"koishi": "^4.18.2"
|
|
26
27
|
},
|
|
27
28
|
"koishi": {
|