Andrey Kovalev 2 years ago
parent
commit
6146b5d8cf
Signed by: Russia9
GPG Key ID: EC3AA65373CA51DC
  1. 2
      types/account.go
  2. 2
      userbot/bot.go

2
types/account.go

@ -43,7 +43,7 @@ type Account struct { @@ -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"`

2
userbot/bot.go

@ -97,7 +97,7 @@ func (b *Userbot) Start(ctx context.Context) error { @@ -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{

Loading…
Cancel
Save