Compare commits
No commits in common. "4afbc2564b8b5e21479a66c82c5f38832fe45814" and "82f49079abd00a2fb89f183d29d199dbb547d505" have entirely different histories.
4afbc2564b
...
82f49079ab
|
@ -33,10 +33,6 @@ func TaskKickOldUsers(b *echotron.API) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
log.Printf("User %s was banned", user.FirstName)
|
log.Printf("User %s was banned", user.FirstName)
|
||||||
_, err = b.DeleteMessage(user.ChatId, user.CaptchaMessage)
|
|
||||||
if err != nil {
|
|
||||||
log.Println("ERR: Captcha message not deleted: ", err)
|
|
||||||
}
|
|
||||||
store.DeleteByID(ctx, user.Id)
|
store.DeleteByID(ctx, user.Id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue