From 6146b5d8cf75d433cda61789ef9be5dc6e71d10b Mon Sep 17 00:00:00 2001 From: Russia9 Date: Sun, 10 Apr 2022 15:30:49 +0300 Subject: [PATCH] a --- types/account.go | 2 +- userbot/bot.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/types/account.go b/types/account.go index e7860e5..ed178fc 100644 --- a/types/account.go +++ b/types/account.go @@ -43,7 +43,7 @@ type Account struct { StockCorp string `json:"stock_corp"` Shark bool `json:"shark"` - SharkDelay float64 `json:"shark_delay" gorm:"default:1200"` + SharkDelay float64 `json:"shark_delay" gorm:"default:10"` SharkTeam bool `json:"shark_team"` Motivation bool `json:"motivation" gorm:"default:true"` diff --git a/userbot/bot.go b/userbot/bot.go index 38c29dc..d1640d5 100644 --- a/userbot/bot.go +++ b/userbot/bot.go @@ -97,7 +97,7 @@ func (b *Userbot) Start(ctx context.Context) error { Data: callback.Data, }) if err != nil { - fmt.Println(err, "pin") + fmt.Println(err, "pin", string(callback.Data)) } _, err = b.Client.API().ChannelsReadHistory(context.Background(), &tg.ChannelsReadHistoryRequest{