Skip to content

Commit e9cbe01

Browse files
committed
fix: 错误的命令正则导致库洛token登录指令的多条回复
1 parent 8785292 commit e9cbe01

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ git -C ./plugins/Yunzai-Kuro-Plugin/ pull
9292
- [ ] ~~token 刷新 (应该是用 refreshToken 但是抓不到包)~~ 库洛好像不再刷新 token 了
9393
- [ ] 大工程: 库街区角色信息查询
9494
- [ ] 战双签到 指令的时间估计
95-
- [ ] 修复 `库洛token登录`指令返回两条消息的问题
9695
- [ ] 增加 游戏签到 补签功能
9796
- [ ] 多uid切换
9897
## 关于

apps/kuroBBSLogin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class kuroBBSLogin extends plugin {
2727
fnc: 'tokenLoginHelp',
2828
},
2929
{
30-
reg: new RegExp('^#?库洛token(.*)$', 's'),
30+
reg: new RegExp('^#?库洛token(?!登录|绑定|登陆)(.*)$', 's'),
3131
fnc: 'tokenLoginResult',
3232
},
3333
],

0 commit comments

Comments
 (0)