koishi-plugin-wordle-game 2.4.6 → 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.
- package/lib/index.js +3 -0
- package/package.json +1 -1
- package/readme.md +2 -1
package/lib/index.js
CHANGED
|
@@ -2300,6 +2300,9 @@ ${rankType3.map((type, index) => `${index + 1}. ${type}`).join('\n')}`}
|
|
|
2300
2300
|
return await sendMessage(session, `【@${username}】\n新的玩家名字已经存在,请重新输入。`, `改名`);
|
|
2301
2301
|
}
|
|
2302
2302
|
}
|
|
2303
|
+
if (newPlayerName.includes("@everyone")) {
|
|
2304
|
+
return await sendMessage(session, `【@${username}】\n新的玩家名字不合法,请重新输入。`, `改名`);
|
|
2305
|
+
}
|
|
2303
2306
|
// 玩家记录表操作
|
|
2304
2307
|
const userRecord = await ctx.database.get('wordle_player_records', { userId });
|
|
2305
2308
|
if (userRecord.length === 0) {
|
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": [
|
package/readme.md
CHANGED
|
@@ -272,9 +272,10 @@ 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 的词典
|