fix: 减少必应token长度限制

This commit is contained in:
ikechan8370 2023-04-08 17:42:52 +08:00 committed by GitHub
parent 4c0a1852f6
commit 6b2cd446f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,7 +205,7 @@ export class ChatgptManagement extends plugin {
async saveBingToken () {
if (!this.e.msg) return
let token = this.e.msg
if (token.length < 215) {
if (token.length < 100) {
await this.reply('Bing Token格式错误请确定获取了有效的_U Cookie或完整的Cookie', true)
this.finish('saveBingToken')
return