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 0bd32f0 commit 33d69b2Copy full SHA for 33d69b2
pkg/bot/bot.go
@@ -337,7 +337,12 @@ 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
- RequestToken(uin)
+ time.Sleep(time.Second * 3)
341
+ i := 0
342
+ for ;i < 3; {
343
+ RequestToken(uin)
344
+ i++
345
+ }
346
} else {
347
log.Info("请求 Token 成功")
348
log.Warn(string(response))
0 commit comments