koishi-plugin-wordle-game 2.4.5 → 2.4.7
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.
|
@@ -60181,7 +60181,7 @@
|
|
|
60181
60181
|
},
|
|
60182
60182
|
{
|
|
60183
60183
|
"idiom": "敬谢不敏",
|
|
60184
|
-
"pinyin": "jìng
|
|
60184
|
+
"pinyin": "jìng xiè bù mǐn",
|
|
60185
60185
|
"explanation": "【解释】谢:推辞。不敏:不聪明,没有才能。恭敬地表示能力不够,不能接受,只好谢绝。多用作推辞做某事的婉辞。"
|
|
60186
60186
|
},
|
|
60187
60187
|
{
|
package/lib/index.js
CHANGED
|
@@ -24,8 +24,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
return result;
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.Config = exports.usage = exports.name = exports.inject = void 0;
|
|
28
|
-
exports.apply = apply;
|
|
27
|
+
exports.apply = exports.Config = exports.usage = exports.name = exports.inject = void 0;
|
|
29
28
|
const koishi_1 = require("koishi");
|
|
30
29
|
const cheerio_1 = require("cheerio");
|
|
31
30
|
const path = __importStar(require("path"));
|
|
@@ -2301,6 +2300,9 @@ ${rankType3.map((type, index) => `${index + 1}. ${type}`).join('\n')}`}
|
|
|
2301
2300
|
return await sendMessage(session, `【@${username}】\n新的玩家名字已经存在,请重新输入。`, `改名`);
|
|
2302
2301
|
}
|
|
2303
2302
|
}
|
|
2303
|
+
if (newPlayerName.includes("@everyone")) {
|
|
2304
|
+
return await sendMessage(session, `【@${username}】\n新的玩家名字不合法,请重新输入。`, `改名`);
|
|
2305
|
+
}
|
|
2304
2306
|
// 玩家记录表操作
|
|
2305
2307
|
const userRecord = await ctx.database.get('wordle_player_records', { userId });
|
|
2306
2308
|
if (userRecord.length === 0) {
|
|
@@ -5334,3 +5336,4 @@ ${content}
|
|
|
5334
5336
|
</div>`;
|
|
5335
5337
|
// apply
|
|
5336
5338
|
}
|
|
5339
|
+
exports.apply = apply;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "koishi-plugin-wordle-game",
|
|
3
3
|
"description": "欢迎来到 [Wordle](https://www.nytimes.com/games/wordle/index.html) | [汉兜](https://handle.antfu.me/) | [词影](https://cy.surprising.studio/) |... 猜单词|猜成语|猜数字|猜数学方程式|... 的小游戏,支持QQ官方MD模板,且包含多种词库、主题、游戏设置和排行榜系统等。",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.7",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"猜"
|
|
62
62
|
],
|
|
63
63
|
"peerDependencies": {
|
|
64
|
-
"koishi": "^4.17.
|
|
64
|
+
"koishi": "^4.17.5"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"koishi-plugin-markdown-to-image-service": "^1.1.8",
|
package/readme.md
CHANGED
|
@@ -272,14 +272,14 @@ npm install koishi-plugin-wordle-game
|
|
|
272
272
|
- [Numberle](https://dduarte.github.io/numberle/) - 数字猜测游戏
|
|
273
273
|
- [词影](https://cy.surprising.studio/) - 词影游戏代码与样式
|
|
274
274
|
- [Numberle](https://numberle.org/) - 数学方程式猜测游戏
|
|
275
|
+
- [Wordle](https://www.nytimes.com/games/wordle/index.html) - 原版 Wordle 游戏网页样式
|
|
275
276
|
- [LewdleGame](https://www.lewdlegame.com/App) - Lewdle 模式单词列表
|
|
276
277
|
- [WordlePlay](https://wordleplay.com/wordle-games) - 拓展玩法/单词列表补充
|
|
277
|
-
-
|
|
278
|
+
- 感谢 ly、麦神等朋友的纠错与反馈喵 ~
|
|
278
279
|
- [skywind3000/ECDICT](https://github.com/skywind3000/ECDICT) - 英汉语词典数据库
|
|
279
280
|
- [koishi-plugin-wordle](https://www.npmjs.com/package/koishi-plugin-wordle) - Wordle 经典模式词典
|
|
280
281
|
- [nonebot-plugin-wordle](https://github.com/noneplugin/nonebot-plugin-wordle) - Nonebot Wordle 的词典
|
|
281
|
-
- [Wordle 2315 words list](https://gist.github.com/DevilXD/6ad6cc1fe37872d069a795edd51233b2#file-wordle_words-txt) - 经典
|
|
282
|
-
Wordle 的单词列表
|
|
282
|
+
- [Wordle 2315 words list](https://gist.github.com/DevilXD/6ad6cc1fe37872d069a795edd51233b2#file-wordle_words-txt) - 经典 Wordle 的单词列表
|
|
283
283
|
|
|
284
284
|
## 🐱 QQ 群
|
|
285
285
|
|