mirror of
https://github.com/Le-niao/Yunzai-Bot.git
synced 2025-04-05 01:43:26 +08:00
滑动提示修改
This commit is contained in:
parent
7469da2b45
commit
247f028b8d
1
.gitignore
vendored
1
.gitignore
vendored
@ -134,7 +134,6 @@ dist
|
||||
dump.rdb
|
||||
data/
|
||||
config/test/*
|
||||
plugins/genshin/config/*
|
||||
!config/test/default.yaml
|
||||
logs/
|
||||
|
||||
|
@ -68,15 +68,15 @@ export default class loginEvent extends EventListener {
|
||||
{
|
||||
type: 'list',
|
||||
name: 'type',
|
||||
message: '触发滑动验证,请选择验证方式:',
|
||||
choices: ['1.手动获取ticket', '2.滑动验证app请求码']
|
||||
message: '触发滑动验证,需要获取ticket通过验证,请选择获取方式:',
|
||||
choices: ['1.手动获取ticket', '2.滑动验证app请求码获取']
|
||||
}
|
||||
])
|
||||
|
||||
await common.sleep(200)
|
||||
let ticket
|
||||
|
||||
if (ret.type == '2.滑动验证app请求码') {
|
||||
if (ret.type == '2.滑动验证app请求码获取') {
|
||||
ticket = await this.requestCode(event.url)
|
||||
if (!ticket) console.log('\n请求错误,返回手动获取ticket方式\n')
|
||||
}
|
||||
|
1
plugins/.gitignore
vendored
1
plugins/.gitignore
vendored
@ -3,6 +3,7 @@
|
||||
|
||||
!genshin
|
||||
!genshin/**
|
||||
genshin/config/*
|
||||
|
||||
!system
|
||||
!system/**
|
||||
|
@ -81,3 +81,5 @@
|
||||
|#设置刻晴别名|自定义别名|
|
||||
|#删除别名龟龟|删除设置的别名|
|
||||
|#刻晴别名|别名列表|
|
||||
|#配置ck|添加公共查询ck|
|
||||
|#使用用户ck|将用户ck加入到公共查询ck池|
|
||||
|
Loading…
x
Reference in New Issue
Block a user