We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33d69b2 commit 6aa322bCopy full SHA for 6aa322b
pkg/bot/bot.go
@@ -337,12 +337,7 @@ func RequestToken(uin uint64) {
337
IsRequestTokenAgain = true
338
} else if strings.HasPrefix(gjson.GetBytes(response, "msg").String(), "QSign") {
339
log.Warn("QSign not initialized, unable to request_ Token, please submit the initialization package first.")
340
- time.Sleep(time.Second * 3)
341
- i := 0
342
- for ;i < 3; {
343
- RequestToken(uin)
344
- i++
345
- }
+ IsRequestTokenAgain = false
346
} else {
347
log.Info("请求 Token 成功")
348
log.Warn(string(response))
0 commit comments