From a54493fc6121ca6d190ef8c5681341de8037a26f Mon Sep 17 00:00:00 2001 From: eatmoreapple <15055461510@163.com> Date: Sun, 1 Aug 2021 00:53:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93bot=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E7=9A=84=E6=83=85=E5=86=B5=E4=B8=8B=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E7=83=AD=E7=99=BB=E5=BD=95,=E4=BC=9A=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E4=BA=8B=E4=BB=B6=E7=9B=91=E5=90=AC=20:bug:?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/bot.go b/bot.go index 958aefb..d3eb0bc 100644 --- a/bot.go +++ b/bot.go @@ -58,9 +58,6 @@ func (b *Bot) GetCurrentUser() (*Self, error) { // err := bot.HotLogin(storage, true) // fmt.Println(err) func (b *Bot) HotLogin(storage HotReloadStorage, retry ...bool) error { - if b.Alive() { - b.cancel() - } b.isHot = true b.hotReloadStorage = storage