From b509a11a6de1260313f2feb32fe809800c07e56c Mon Sep 17 00:00:00 2001 From: eatmoreapple Date: Fri, 6 Jan 2023 01:01:08 +0800 Subject: [PATCH] update doc --- bot.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/bot.go b/bot.go index f195cce..46e5a17 100644 --- a/bot.go +++ b/bot.go @@ -76,12 +76,7 @@ func (b *Bot) Login() error { return b.login(scanLogin) } -// HotLogin 热登录,可实现重复登录, -// retry设置为true可在热登录失效后进行普通登录行为 -// -// Storage := NewJsonFileHotReloadStorage("Storage.json") -// err := bot.HotLogin(Storage, true) -// fmt.Println(err) +// HotLogin 热登录,可实现在单位时间内免重复扫码登录 func (b *Bot) HotLogin(storage HotReloadStorage, opts ...HotLoginOptionFunc) error { hotLogin := &HotLogin{storage: storage} for _, opt := range opts {